A simple Todo List application built with Node.js and MongoDB.
This project is a basic Todo List application implemented using Node.js as the server-side framework and MongoDB as the database. It allows users to manage their tasks, mark them as completed, and perform basic CRUD operations on the tasks.
- Create, Read, Update, and Delete tasks
- Mark tasks as completed
- MongoDB database for persistent storage
- RESTful API for task management
Before you begin, ensure you have the following installed on your machine:
- Clone the repository:
git clone https://github.com/your-username/todo-list-app.git
- Change into the project directory:
cd todo-list-app
- Install dependencies:
npm install
Create a .env
file in the root directory of the project.
Add the MongoDB connection string:
MONGO_URI=mongodb:https://localhost:27017/todo-list
Replace the connection string with your MongoDB server details.
Start the MongoDB server:
mongod
Start the Node.js application:
npm start
The application will be accessible at https://localhost:3000.