Project backend, because I was bored to start every project from kind of scratch, and copy modules from other projects Then I came with idea to bring them together and publish it here as open source projects.
Projects is based on framework Nest
$ npm install
Review .env.schema
contains all of available environment variables, but not all are required, to check with on are
required, check it with file: src/app/config/env.schema.ts
it's filled with Joi
validation, where you will see a .default
call with default value. I doesn't have for now better solution to figure
out which one of env is required.
# development
$ npm run start
# production mode
$ npm run start:prod
# unit tests
$ npm run test
# e2e tests
$ npm run test:e2e
# test coverage
$ npm run test:cov
Nest is MIT licensed.
-
fixtures
- fake users
- roles
- access control list
- fake blog data
-
config
- env validation
- TypeORM config service
-
core
- kind of sharable resources
-
auth (jwt)
- login
- register
- verify
- password reset
- password remind
- notifications
-
admin (AdminLTE)
- login
- management
-
security
- voters
- guards
-
user
- business logic
-
blog - crud example
- posts
- comments
Next stages: to be continued
I will try to wrote all of the components as independent modules with CQRS
PR's are welcome