/Lab3.1-todo-list-api-express-mongo

Todo list using express, mongoDb. Title, isChecked, and date

Primary LanguageHTML

Express Server Todo list

Combination of Colt Steele and Robert Wieruch online tutorials

Step One

  1. run "npm install"
  2. Make sure that mongo server is running and port 27017 of localhost is responding appropriately.
  3. run "node index.js"
  4. Using curl/Postman add/modify/delete items in the todo list.
  5. If you do not have Mongo Extension in VS Code, please add it: MongoDB for VS Code

Assign to student Lab 3.1

  1. Refactor the code in index.js file so the routes, the models, and other code is located in different folders. Use the "recipes-api" app as a reference, and/or run "npx express-generator" following the instructions in expressjs.com/en/starter/generator.html