Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/joysarkarbd/nest-js-starter-package
https://github.com/joysarkarbd/nest-js-starter-package
bcrypt class-validator cli cookie-parser cros dotenv express-rate-limit helmet jsonwebtoken morgan nestjs rxjs swagger
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/joysarkarbd/nest-js-starter-package
- Owner: JoySarkarBD
- Created: 2024-06-10T06:37:30.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-06-10T09:17:48.000Z (8 months ago)
- Last Synced: 2024-10-31T18:25:10.770Z (3 months ago)
- Topics: bcrypt, class-validator, cli, cookie-parser, cros, dotenv, express-rate-limit, helmet, jsonwebtoken, morgan, nestjs, rxjs, swagger
- Language: TypeScript
- Homepage:
- Size: 129 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[circleci-image]: https://img.shields.io/circleci/build/github/nestjs/nest/master?token=abc123def456
[circleci-url]: https://circleci.com/gh/nestjs/nest
A progressive Node.js framework for building efficient and scalable server-side applications.
## Description
[Nest](https://github.com/nestjs/nest) framework TypeScript starter repository.
## Installation
To create a new project using NEST-JS
```
npx nest-js-starter-package@latest folder-name
``````bash
$ yarn install
# or
$ npm install
```## Running the app
```bash
# development
$ yarn run start
# or
$ npm run start# watch mode
$ yarn run start:dev
# or
$ npm run start:dev# production mode
$ yarn run start:prod
# or
$ npm run start:prod
```## Test
```bash
# unit tests
$ yarn run test
# or
$ npm run test# e2e tests
$ yarn run test:e2e
# or
$ npm run test:e2e# test coverage
$ yarn run test:cov
# or
$ npm run test:cov
```## Project Structure
```
Project-Root/
|
├── src
│ ├── core-modules
│ │ ├── interceptors
│ │ │ └── response-interceptor
│ │ │ ├── response-interceptor.spec.ts
│ │ │ └── response-interceptor.ts
| | |
│ │ └── middlewares
│ │ ├── auth.middleware.ts
│ │ ├── cookie-parser.middleware.ts
│ │ ├── cors.middleware.ts
│ │ ├── helmet.middleware.ts
│ │ ├── morgan.middleware.ts
│ │ └── rate-limit.middleware.ts
| |
│ ├── utils
│ │ ├── validation-helper.ts
│ │ └── bcrypt-utils.ts
| |
│ ├── app.controller.ts
│ ├── app.module.ts
│ ├── app.service.ts
│ └── main.ts
│
├── test
│ ├── app.e2e-spec.ts
│ └── jest-e2e.json
│
├── .env
├── nest-cli.json
├── package.json
├── README.md
├── tsconfig.build.json
└── tsconfig.json
```