ZOYKUHot Board

pezzetti/base-app-nestjs기술 문서

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

언어 대체 안내:해당 저장소의 한국어 문서가 제공되지 않아 공식 영문 원본(English)으로 표시됩니다.
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.

GitHub 공식 원본 저장소에서 아카이브된 문서 미러 · GitHub 저장소 방문
동기화 기준일: 2026-11-09