This repository contains the source code for a Blog Challenge website. The website is designed using JavaScript, EJS templating engine, and backed by MongoDB and Mongoose.
- Bloggers can write, edit, and delete their blog posts with ease.
- Visitors can read blog posts and leave comments on them.
- The website incorporates a responsive design, ensuring optimal user experience across different devices.
- User authentication and authorization are implemented to secure the website's functionalities.
- MongoDB and Mongoose are used for efficient data storage and retrieval.
The website is built using the following technologies:
- JavaScript
- EJS (Embedded JavaScript) for templating
- Node.js as the runtime environment
- Express.js as the web application framework
- MongoDB for the database
- Mongoose as the MongoDB object modeling tool
To run the Blog Challenge website locally, ensure that you have the following prerequisites installed on your machine:
- Node.js (https://nodejs.org)
- MongoDB (https://www.mongodb.com)
-
Clone this repository to your local machine using the following command:
-
Navigate to the project directory:
-
Install the dependencies by running:
-
Start the MongoDB server.
-
Rename the
.env.example
file to.env
and update the configuration variables as per your setup. -
Start the development server:
-
Open your web browser and visit
http://localhost:3000
to access the Blog Challenge website.
Contributions to the Blog Challenge website are welcome! If you have any bug fixes, improvements, or new features to propose, please feel free to open an issue or submit a pull request.
This project is licensed under the MIT License. You are free to use, modify, and distribute the code in accordance with the terms and conditions of the license.
If you have any questions, feedback, or suggestions, please feel free to reach out. You can contact me via [email](mailto: [email protected]) or connect with me on LinkedIn.
Happy blogging!