This is a blogging website built with Node.js, Express, and EJS for server-side rendering. Users can sign up, log in, add blogs, comment on blogs, and log out.
- User authentication (sign up, log in, log out)
- Add, edit, and delete blogs
- Comment on blogs
- Server-side rendering using EJS
- Node.js
- Express
- MongoDB with Mongoose
- EJS (Embedded JavaScript Templates)
- JWT for authentication
- Bootstrap for frontend styling
-
Clone the repository:
git clone https://github.com/yourusername/blogging-website.git cd blogging-website
-
Install dependencies:
npm install
-
Run the application:
npm start
The server will start on
http://localhost:8000
.