Skip to content

impactbyte-ancalagon/learn-orm-express

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published