Skip to content

Latest commit

 

History

8 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Learn ORM and Express

Setup database

  1. Install MySQL
  2. Create user
  3. Create database with these names:
    • todo_dev
    • todo_test
    • todo_production

Setup app

Install local dependencies:

yarn

Install global dependencies:

yarn global add sequelize-cli sequelize mysql2 nodemon

Migrate tables and seed initial data:

sequelize db:migrate
sequelize db:seed:all

Run the API server:

yarn start

or

yarn dev

Access API server by opening http://localhost:8000

About

Learn ORM Express

Resources

Stars

1 star

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages