Skip to content

next-dev-team/nestjs-next-boilerplate

Repository files navigation

Nest Logo

A progressive Node.js framework for building efficient and scalable server-side applications, heavily inspired by Angular.

NPM Version Package License NPM Downloads Travis Linux Coverage Gitter Backers on Open Collective Sponsors on Open Collective

Description

Nest framework TypeScript starter repository.

Features

  • GraphQl Generator: Create schema DB to generator schema GraphQl
  • Mongoose Support: Well support and develop with mongoose
  • TypeOrm Support: Well support and develop with posgressql
  • ResApi Support: Easy manage route with res api
  • Web Socket Support: Realtime like chat system
  • Media Streaming Support: Suppot livestream media
  • MQTT Support: Pub/Sub messaging queue telemetry
  • RABBITMQ Support: Publisher/Consumer advance messaging queue
  • I18Next Support: Support i18next
  • Social Login Support: Login with social media
  • RABBITMQ Support: Publisher/Consumer advance messaging queue
  • So On feature: More features added

Installation

$ yarn install

Use Gitpod

Open the project in Gitpod (free online dev environment for GitHub) and start coding immediately.

Open in Gitpod

More instructions at documentation.

Running the app

using yarn

# development
$ yarn start

# watch mode
$ yarn start:dev

# production mode
$ yarn start:prod

using docker

# watch mode
$ docker-compose up dev

# production mode
$ docker-compose up prod

Seeding

# Seed with clear collection (fresh collection) [Wanning!!! lose data]
$ yarn seed:refresh

# Seed without clear [Recommended]
$ yarn seed

Note: if first run or make any change to seeder configuration please run 'yarn build' first to rebuild dist folder.

Test

# unit tests
$ yarn run test

# e2e tests
$ yarn run test:e2e

# test coverage
$ yarn run test:cov

Support

Nest is an MIT-licensed open source project. It can grow thanks to the sponsors and support by the amazing backers. If you'd like to join them, please read more here.

Contributing

Any type of contribution is welcome, here are some examples of how you may contribute to this project:

  • Use Ant Design Pro in your daily work.
  • Submit issues to report bugs or ask questions.
  • Propose pull requests to improve our code.

Stay in touch

License

Nest is MIT licensed.