NestJsCore is open sourced project that provides a core for NestJs applications. It is based on NestJs framework and provides a set of features that are common for most of the applications. This framework is designed to be used as a core for your application. It provides a set of features that are common for most of the applications.
This framework supportting the following features:
- Authentication
- Authorization
- Caching
- Configuration
- CORS
- CSRF
- MongoDB
- TypeORM
- Validation
- Swagger
- WebSockets
$ pnpm install
# development
$ pnpm run start
# watch mode
$ pnpm run start:dev
# production mode
$ pnpm run start:prod
# unit tests
$ pnpm run test
# e2e tests
$ pnpm run test:e2e
# test coverage
$ pnpm run test:cov
curl --location --request POST 'http://HOST:PORT/api/user/auth/register' \
--header 'Accept: application/json' \
--data-raw '{"email": "example@email.com", "password": "password"}'
curl --location --request POST 'http://HOST:PORT/api/user/auth/login' \
--header 'Accept: application/json' \
--data-raw '{"email": "example@email.com", "password": "password"}'
curl --location --request GET 'http://HOST:PORT/api/user/user/getAll' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer tokenFromLoginRequest' \
--data-raw ''
NestJsCore is an MIT-licensed open source project built with using NestJs. It can grow thanks to the sponsors and support by the amazing backers.
NestJsCore MIT licensed