Skip to content

tony-garand/nestjs-typeORM-postgreSQL-jwt-docker

Repository files navigation

Nest Logo

Description

  • NestJS
  • TypeORM
  • PostgreSQL
  • Swagger
  • JWT
  • Docker

Running the app on docker

Docker build & start

# docker env build
$ docker-compose build

# docker env start
$ docker-compose up

# remove docker container (services & networks)
$ docker-compose down

Migration

# generate migration
$ docker-compose run nestjs npm run typeorm:generate AnyNameYouLike

# run migration
$ docker-compose run nestjs npm run typeorm:run

Running the app without docker

Installation

$ npm install

Migration

# generate migration
$ npm run typeorm:generate AnyNameYouLike

# run migration
$ npm run typeorm:run

Running the app

# development
$ npm run start

# watch mode
$ npm run start:dev

# production mode
$ npm run start:prod

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published