A NestJS boilerplate with authentication and TypeORM.
Create a .env
(for running the app outside of docker- development) and .env.prod
(for running the app inside docker- production) file from the .env.example
and .env.prod.example
respectively, and assign the variables their corresponding values.
$ # start up the db
$ yarn docker:db
$ # install dependencies
$ yarn
$ # run the migrations
$ yarn migration:up
$ # optionally seed the database
$ yarn seed:config
$ yarn seed:run
$ # start the app in watch mpde
$ yarn start:dev
$ yarn docker:compose
$ yarn docker:migration:up