Run yarn bootstrap && yarn start
Running yarn bootstrap
will do the following:
- Install packages
- Create the example DB
- Generate code in
generated
folder
To automatically generate a schema migration file, run yarn db:migration:generate
. The migration will be put in the db/migrations
folder
To run the DB migration, run yarn db:migration:run