Skip to content

Starter template for NestJS app with TypeORM and PostgreSQL

Notifications You must be signed in to change notification settings

just-leo/nestjs-postgresql-starter

Repository files navigation

Nest Logo

Description

Nest framework TypeScript, TypeORM, PostgreSQL starter repository.

Installation

$ npm install

Running the app

1 Create own .env config:

cp .env.example .env

2 Generate typeorm's ormconfig.json file:

npm run typeormconfig

3 Run the application

# development
$ npm run start

# watch mode
$ npm run start:dev

# production mode
$ npm run start:prod

Test

# unit tests
$ npm run test

# e2e tests
$ npm run test:e2e

# test coverage
$ npm run test:cov

Stay in touch

License

Nest is MIT licensed.