Nodejs Blog is a web application built with Node.js, Express, MongoDB, EJS, and Tailwind CSS. It provides a platform for administrators to post blogs and allows visitors to view and comment on the blogs. To interact with the commenting feature, visitors need to either log in or create an account.
-
Clone the repository:
git clone https://github.com/os-humble-man/nodejs-blog.git
-
Navigate to the project directory:
cd nodejs-blog
-
Install dependencies:
npm install
-
Set up your MongoDB database and update the configuration in the project.
-
Start the application:
npm start
Visit http://localhost:3000
in your web browser.
- Administrators can log in and post blogs.
- Visitors can view blogs and comment after logging in or creating an account.
- Administrator Blog Posting
- Visitor Blog Viewing
- Visitor Commenting (requires login or account creation)
- Node.js
- Express
- MongoDB
- EJS (Embedded JavaScript)
- Tailwind CSS
If you would like to contribute to the project, please follow these guidelines:
- Fork the repository.
- Create a new branch for your feature or bug fix.
- Make your changes and submit a pull request.