Bog Blog is a simple web application that allows users to create and search for blog posts. The application is built using Express, EJS, and Node.js, and uses Nodemon for development.
Bog Blog is designed to help users explore and share information about foraging in bogs. Users can create blog posts about anything, view posts, and search for specific posts using a search bar. I wanted to make this project to understand client and server interactions.
- Create new blog posts
- View existing blog posts
- Search for blog posts by title
- Responsive design
Before you begin, ensure you have met the following requirements:
- Node.js and npm installed
- Git installed
To install Bog Blog, follow these steps:
-
Clone the repository:
git clone https://github.com/ekdeguzm/bog-blog.git
-
Navigate to the project directory:
cd bog-blog
-
Install the dependencies:
npm install
To run the project locally, follow these steps:
-
Start the server with Nodemon:
npm start
-
Open your browser and go to
http://localhost:3000
. -
Use the application to create, view, and search for blog posts.
bog-blog/
│
├── public/
│ ├── images/
│ ├── styles/
│ └── scripts/
│
├── views/
│ ├── partials/
│ │ ├── header.ejs
│ │ └── footer.ejs
│ ├── index.ejs
│ ├── search.ejs
│ └── post.ejs
│
├── index.js
├── package.json
├── package-lock.json
└── .gitignore
Contributions are always welcome! Please follow these steps to contribute:
-
Fork the repository:
git clone https://github.com/ekdeguzm/bog-blog.git
-
Create a new branch:
git checkout -b feature-name
-
Install the dependencies:
git commit -m 'Add some feature'
-
Push to the branch:
git push origin feature-name
-
Create pull request:
This is licensed under MIT License Copyright (c) 2024.
See the LICENSE for information on the history of this software, terms & conditions for usage, and a DISCLAIMER OF ALL WARRANTIES.
All trademarks referenced herein are property of their respective holders.