Skip to content

Latest commit

 

History

History
14 lines (10 loc) · 687 Bytes

README.md

File metadata and controls

14 lines (10 loc) · 687 Bytes

mysql-review

#Exercise-1
Install any dependencies you need and write a start script for your server. Make sure that your requests are hitting your endpoints (test through Postman or Insomnia).

#Exercise-2
Create an index.js file in your database directory. Inside of that file, use sequelize to establish a connection to your database. Export your connection.

#Exercise-3
Create a models.js file inside your database directory. Inside of that file, construct your schemas to have fields for todo name and list name and export those schemas.

#Exercise-4
Inside of your controller.js, import your database models and build out your controller functions.