ZOYKUHot Board

pezzetti/base-app-nestjsTài liệu kỹ thuật

Base application using nest JS focused on DDD architecture and SOLID principles

Thông báo ngôn ngữ:Chưa có tài liệu tiếng Việt cho kho lưu trữ này. Đang hiển thị bản gốc tiếng Anh chính thức.
npm i base-app-nestjs

NestJS API boilerplate

Maintainability Build Status codecov

Description

Base application API made with NestJS, TypeORM, GraphQL, and Jest

Folder structure

Code organization based on NestJS modules with Domain Driven Design, focused on codebase scalability.

SOLID

Using SOLID principles to provide better code design for easier maintenance and testing.

GraphQL / REST

You can either create API's REST or Graphql

Installation

$ npm install
$ docker-compose up -d
$ cp .env-sample .env

Running the app

# development
$ npm run start

# watch mode
$ npm run start:dev

# production mode
$ npm run start:prod

Endpoints

/users or /graphql

Swagger documentation

/docs

Test

# unit tests
$ npm run test

# e2e tests
$ npm run test:e2e

# test coverage
$ npm run test:cov

License

Nest is MIT licensed.

Bản sao tài liệu lưu trữ từ kho lưu trữ GitHub chính thức · Xem trên GitHub
Ngày đồng bộ: 2026-11-09