Skip to content

Latest commit

 

History

History
27 lines (17 loc) · 903 Bytes

readme.md

File metadata and controls

27 lines (17 loc) · 903 Bytes

Todo List Project with EJS templating

Users can create as many links for every todo task. For example, https://stark-bayou-70405.herokuapp.com/work will create a todolist specific to Work todos. Users will not lose their data unless they delete it themselves, data is stored with MongoDB Cloud.

Project installation

App requires Node.js to run.

Install the dependencies and start the server with nodemon

$ cd todolist
$ npm install 
$ nodemon app.js

Database

Use mongoDB to persist data from todolist. Run the project, open a new terminal, type mongo

  • After getting > sign, type show dbs
  • Swich over to todolistDB, type use todolistDB
  • See the item collection, type show collections
  • Check to confirm what the items contain, type db.items.find()

app