0.0.2 • Published 7 months ago

create-fcaramez-nestjs v0.0.2

Weekly downloads
-
License
UNLICENSED
Repository
-
Last release
7 months ago

Description

A Boilerplate with Authentication built in for faster development of future apps.

Technologies used

  • Docker
  • Class Validator
  • pnpm
  • Argon
  • JWT
  • Prisma
  • Passport

Installation

$ pnpm install

Getting Started

  • Make sure you have Docker installed
  • Create .env && .env.test files with proper variables:
  • POSTGRES_DEV_PORT POSTGRES_TEST_PORT POSTGRES_USER POSTGRES_PASSWORD POSTGRES_NETWORKS_NAME POSTGRES_DB_NAME DATABASE_URl JWT_SECRET

Possible Commands

Building the app:

$ pnpm run build

Running the app:

$ pnpm run watch

Running the app in watch mode:

$ pnpm run watch:dev

Starting Docker Image:

$ pnpm run db:dev:up

Deleting Database instance:

$ pnpm run db:dev:rm

Restarting DB:

$ pnpm run db:dev:restart

Test

# unit tests
$ npm run test

# e2e tests
$ npm run test:e2e

# test coverage
$ npm run test:cov

Support

Nest is an MIT-licensed open source project. It can grow thanks to the sponsors and support by the amazing backers. If you'd like to join them, please read more here.

Stay in touch

License

Nest is MIT licensed.