/express-todo-list

WEB based minor project

Primary LanguageJavaScript

ToDo List App using Express, Node.js, and MongoDB

This is a simple ToDo List app built using Node.js and Express framework with MongoDB as the database. The app allows you to add, update and delete tasks from your ToDo List.

Requirements

To use this app, you must have the following installed on your system:

  • Node.js
  • Express
  • EJS
  • MongoDB

Installation

  1. Clone the repository or download the ZIP file.

  2. Install the dependencies by running the following command:

    npm install
  3. Create a .env file in the root directory of the project and add the following:

    DB_URL=mongodb://localhost:27017/todo
    PORT=3000
  4. Run the app by running the following command:

     npm start
  5. Open your browser and go to http://localhost:3000

Usage

  1. Add a task by typing the task in the input field and clicking the Add button.
  2. Update a task by clicking the Edit button and typing the new task in the input field.
  3. Delete a task by clicking the Delete button.

Author

replayan

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.