A To-Do Web App made using Node.js and MongoDB to store the ToDo list items online.
I used the Express module to handle the requests/responses, and the MVC approach to organize my code.
You can find the instructions below.
For the JavaScript/HTML only version, check the master-old
branch: https://github.com/ahmad-asaad/ToDo-WebApp/tree/master-old
Note : I did not make the HTML and CSS used in this project.
PS: The website uses a hosted MongoDB to store the ToDo list. Therefore, please don't add too many things, so other people can try it out.
- Download the files in this repository
- Open it in Visual Code Studio (Make sure you have "Node" installed on your computer)
- Open a new terminal, and type the command
npm install
- After the download/installation finishes, type the command
nodemon start
- Wait for the terminal to show you "Connected to MongoDB" as the following:
[nodemon] watching extensions: js,mjs,json
[nodemon] starting `node start server.js`
Connected to MongoDB
- The website should be up and running in http://localhost:3000/
- Done !