The code is written by professionals for educational purposes. Don't repeat at home.
npm install
- create
.env
file, copy values from.example.env
npm run docker:dev:db
(runs database in docker container)npm run migrate:latest && npm run seed
npm run dev
(runs server)
Then just use npm run docker:dev:db
and npm run dev
.
npm run docker:test:db
(runs separate database for tests)npm run docker:test