This is a blog application built with Node.js. It allows users to create, edit, and delete blog posts. The application uses Express.js for the backend and MongoDB for the database.
- User authentication and authorization
- Create, read, update, and delete blog posts
- Responsive design
- Node.js
- MongoDB
-
Clone the repository:
git clone https://github.com/Amit1405/blog-application.git cd your-repo-name
-
Install dependencies:
npm install
-
Set up environment variables: Create a
.env
file in the root directory and add the following:PORT=8001 MONGODB_URI=your-mongodb-uri SECRET_KEY=your-secret-key
-
Start the application:
npm run dev
- Open your browser and go to
http://localhost:3000
- Register or log in to start creating blog posts
Contributions are welcome! Please fork the repository and create a pull request.
This project is licensed under the MIT License - see the LICENSE file for details.