Skip to content

Elbarae1921/nest-typeorm-auth-boilerplate

Repository files navigation

Description

A NestJS boilerplate with authentication and TypeORM.

Setup

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.

Development

$ # 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

Production

$ yarn docker:compose
$ yarn docker:migration:up

About

A NestJS boilerplate with TypeORM and authentication

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published