Skip to content

hulyak/todolist

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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