README.md
This is the README file for a TODO app written in the MERN stack.
The MERN stack consists of the following technologies:
- MongoDB: A NoSQL database for storing the TODO items.
- Express.js: A web application framework for building the backend API.
- React.js: A JavaScript library for building the user interface.
- Node.js: A JavaScript runtime environment for running the backend server.
Features of the TODO app:
- User authentication: Users can sign up, log in, and log out.
- Create, read, update, and delete TODO items.
- Mark TODO items as completed.
- Filter and sort TODO items based on different criteria.
Prerequisites:
- Node.js and npm should be installed on your machine.
- MongoDB should be installed and running.
Installation:
- Clone the repository: git clone <repository_url>
- Change to the project directory: cd todo-app
- Install dependencies: npm install
Configuration:
- Create a .env file in the root directory and set the following environment variables:
- MONGODB_URI: The connection string for your MongoDB database.
- JWT_SECRET: A secret key for JWT token generation.
Usage:
- Start the development server: npm run dev
- Open your browser and visit: http://localhost:3000
License: This project is licensed under the MIT License. See the LICENSE file for more details.