- Install MySQL
- Create user
- Create database with these names:
todo_dev
todo_test
todo_production
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