A simple To-Do List web application built with Node.js and Express, using MongoDB for data storage.
- View To-Do List: Display a list of tasks on the homepage.
- Add New Task: Create new tasks by filling out a form.
- Edit Task: Modify existing tasks by accessing the edit page.
- Delete Task: Remove tasks from the list.
- Responsive Design: User-friendly interface for various devices.
- Node.js installed
- MongoDB installed and running
- Clone the repository:
git clone [repository-url] - Navigate to the project directory:
cd [project-directory] - Install dependencies:
npm install - Start the application:
npm start - Access the app in your browser at
http://localhost:8080
- MongoDB connection: Ensure MongoDB is running and update the connection string in
mainfunction ofapp.js.
- Open the application in your browser.
- Create, edit, or delete tasks as needed.
- View the updated task list.
- Node.js
- Express
- MongoDB
- Mongoose
- EJS (Embedded JavaScript) for views
app.js: Main application file./models: Directory containing MongoDB models./views: Directory containing EJS view templates./public: Directory for static files (CSS, images, etc.).
Developed by Vishal Kumar Yadav
Feel free to contribute or report issues!