Skip to content

Latest commit

 

History

History
21 lines (13 loc) · 1.01 KB

README.md

File metadata and controls

21 lines (13 loc) · 1.01 KB

postgres-express-example

Build Status Coverage Status

📙 Description

Simple postgres + express example application for a todo list like API.

🔧 Setup

  • Start by creating the postgres database by running: createdb todo-example.
  • Run the database migration(s) by running:
    • sequelize db:migrate

💡 Ideas to extend this app

If you wanted to extend this app and make this application more complex, you could try:

  • Create a List model and make each Todo fall under a specific list, or even multiple lists!
  • Create users and assign each List (or Todos if you didn't want to do the lists) to a user or multiple users.
  • Authenticate the requests to update or delete Todos so that only the user who created it can change it.