/brilliant

Nest Project Demo, for learning backend fundamentals.

Primary LanguageTypeScript

Brilliant

Description

Nest framework TypeScript starter repository for FMS backend project.

Installation

$ yarn install

Running the app

# development
$ yarn run start

# watch mode
$ yarn run start:dev

# production mode
$ yarn run start:prod

Test

# unit tests
$ yarn run test

# e2e tests
$ yarn run test:e2e

# test coverage
$ yarn run test:cov

License

Nest is MIT licensed.

Source Folder Structure

  src
  │
  ├── core
  │   │
  │   ├── constants
  │   ├── exceptions
  │   ├── decorators
  │   ├── auth
  │   ├── providers
  │   ├── guards
  │   ├── utils
  │   ├── interceptors
  │   └── filters
  │       ├── http exceptions
  │       └── ...
  │
  └── modules
      │
      ├── user
      │   │
      │   ├── entities: schema (interface)
      │   ├── dtos/ presenters/ view-models
      │   ├── services: business logic & external apis integration
      │   └── controllers/ route-handler
      │
      ├── article
      │
      └── ...