It's a starter framework on Nest, with TypeScript support.
A progressive Node.js framework for building efficient and scalable server-side applications, heavily inspired by Angular
$ npm i
OR
$ yarn
- Create a DB mysql.
- Copy and rename
.env.example
to.env
. Setup database settings inside this file. - If SyncOrm is false
TYPEORM_SYNCHRONIZE = false
, then runyarn run sync
ornpm run sync
command for create tables in your DB. - Add an admin to the table Users
# development
$ yarn run start
# watch mode
$ yarn run start:dev
# production mode
$ yarn run start:prod
# unit tests
$ yarn run test
# e2e tests
$ yarn run test:e2e
# test coverage
$ yarn run test:cov
- JWT
- Add tests
- Add a rule for Tslint
-
plainToClass()
doesn't work in ValidationUserPipe. Next release. Solved by functionclassToPlain()
from theclass-validate
.
Copyright (c) @yesworld