- Install MySQL
- Create user
- Create database with these names:
todo_devtodo_testtodo_production
Install local dependencies:
yarnInstall global dependencies:
yarn global add sequelize-cli sequelize mysql2 nodemonMigrate tables and seed initial data:
sequelize db:migrate
sequelize db:seed:allRun the API server:
yarn startor
yarn devAccess API server by opening http://localhost:8000