Skip to content

This is a simple ToDo List web application built using HTML, CSS, JavaScript, Node.js, Express, EJS templating, and MongoDB. The app allows users to create, read, update, and delete tasks on their ToDo list. /

Notifications You must be signed in to change notification settings

shubhatRashid/Todo_list

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ToDo List App

with HTML, CSS, JavaScript, Node.js, Express, EJS, and MongoDB image image

  • This is a simple ToDo List web application built using HTML, CSS, JavaScript, Node.js, Express, EJS templating, and MongoDB.
  • The app allows users to create, read, update, and delete tasks on their ToDo list.
  • live @ https://todolist-shubhat.cyclic.app/

Prerequisites

Before you begin, ensure you have the following installed:

Installation

  1. Clone this repository to your local machine:
git clone https://github.com/yourusername/todo-list-app.git
  1. Navigate to the project directory:
cd todo-list-app
  1. Install the project dependencies:
npm install
  1. Create a .env file in the project root and add your MongoDB connection string:
MONGODB_URI=your_mongodb_connection_string

Replace your_mongodb_connection_string with your actual MongoDB connection string.

Usage

  1. Start the application:
npm start
  1. Open your web browser and go to http://localhost:3000 to access the ToDo List app.

  2. You can add tasks by typing a task in the input field and clicking the "Add" button.

  3. To mark a task as complete, click the checkbox next to the task.

  4. To edit a task, click the "Edit" button and make the desired changes.

  5. To delete a task, click the "Delete" button next to the task.

Technologies Used

  • HTML: Structure of the web page.
  • CSS: Styling and layout of the web page.
  • JavaScript: Interactive functionality and dynamic content.
  • Node.js: JavaScript runtime for server-side scripting.
  • Express: Web application framework for Node.js.
  • EJS: Templating engine for rendering dynamic content.
  • MongoDB: NoSQL database for storing tasks.

Project Structure

The project directory is organized as follows:

todo-list-app/
├── node_modules/
├── public/
│   └── styles.css
├── views/
│   ├── SignUp.ejs
│   └── login.ejs
│   └── lists.ejs
│   └── header.ejs
│   └── footer.ejs
├── .env
├── .gitignore
├── app.js
├── package.json
└── README.md
  • node_modules/: Contains project dependencies.
  • public/: Holds static files such as CSS styles.
  • views/: Contains EJS templates for rendering pages.
  • .env: Configuration file for environment variables.
  • app.js: Main application file where routes and server configuration are defined.
  • package.json: Project metadata and list of dependencies.

Acknowledgements

This project was created as an educational exercise and is not intended for production use.

Feel free to customize, enhance, and deploy this ToDo List app according to your needs. If you have any questions or need further assistance, don't hesitate to contact me. Happy coding!

About

This is a simple ToDo List web application built using HTML, CSS, JavaScript, Node.js, Express, EJS templating, and MongoDB. The app allows users to create, read, update, and delete tasks on their ToDo list. /

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published