This is a web application that allows users to create and manage their TO-DO list. Users can register an account, log in, add and delete their TO-DO items.
-
User registration: Users can create an account by providing their name, email, and password.
-
User authentication: Users can log in to their account using their email and password.
-
TO-DO list management: Logged-in users can add new TO-DO items, update existing items, and delete items from their list.
-
Session management: User authentication state is stored in sessions to maintain user sessions across multiple requests.
-
MongoDB integration: The application uses MongoDB as the database to store user information and TO-DO items.
-
Clone the repository:
-
Install the dependencies:
-
Set up the MongoDB database:
- Create a MongoDB database.
- Update the MongoDB connection string in the
config.js
file with your database credentials.
-
Start the application:
-
Open your browser and visit
http://localhost:3000
to access the application.
- Express: Fast, unopinionated web framework for Node.js.
- Mongoose: Elegant MongoDB object modeling for Node.js.
- Express Session: Simple session middleware for Express.
- Bcrypt: Library for hashing and comparing passwords.
Contributions are welcome! If you find any issues or want to suggest improvements, please feel free to open any issues or submit a pull request.