Skip to content

Review lecture material for HRLA students

Notifications You must be signed in to change notification settings

gmoringer/my-sql-review

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mysql-review

setup

npm install
npm start

Documentation

Step 1

  1. Create a database called ball
  2. Connect to the database in database/index.js

Step 2

  1. Create a table called tennis in your schema database/schema.sql
  2. Run the schema in the terminal

Step 3

  1. Create a seeding function in database/seed.js to fill your table
  2. Run your seeding function

Step 4

  1. Fill out the model functions in database/models.js
  2. Connect the models to your controllers
  3. Fill out the controllers
  4. Test via Postman

Optional

  • Refactor your model/controller to use Sequelize

Special Thanks

About

Review lecture material for HRLA students

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%