/rbac-nestjs

Primary LanguageTypeScript

Nest Logo

A progressive Node.js framework for building efficient and scalable server-side applications.

NPM Version Package License NPM Downloads CircleCI Coverage Discord Backers on Open Collective Sponsors on Open Collective Support us

Description

Nest framework TypeScript starter repository.

Installation

$ npm install

Running the app

# 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

Migartions

"migration:run": Run migration from migration folder database/migrations

"migration:generate": Generate migration files changes in entity database

"migration:create": Create empty migration file

"migration:revert": Revert the changes

Debug MetaData Notfound Typeorm 0.3.2

https://medium.com/@JorgeSantanaDeveloper/troubleshooting-the-no-metadata-was-found-error-in-typeorm-2fab1003b099

https://stackoverflow.com/questions/72535879/getconnection-getrepository-typeorm-is-deprecated <- remember init datasource

Documents

CASL

Caching

Setup Migration Typeorm Nestjs

Distributed Counter System

Elastic Search

Dockerizing