Skip to content

Scaffold quickly your next TypeScript API with this opinionated starter template for NestJS. Includes GraphQL support, TypeORM, Jest, Passport-JWT authentication, Swagger Api and more.

License

Notifications You must be signed in to change notification settings

rodgeraraujo/nestjs-starter-template

Repository files navigation

NestJS Starter Template

CI status

NestJS framework scaffold template starter repository.

Technologies

Try it now!

GitHub Template

Create a repo from this template on GitHub.

Clone to local

If you prefer to do it manually with the cleaner git history

npx degit rodgeraraujo/nestjs-starter-template my-nestjs-app
cd my-nestjs-app

When you use this template, try follow the checklist to update your info properly

  • Rename name field in package.json
  • Update description field in package.json
  • Change the author name in LICENSE
  • Clean up the READMEs

And enjoy :p

Usage

npm install -g @nestjs/cli
npm install

Running the app

# development
npm run start

# watch mode
npm run start:dev

# production mode
npm run start:prod

Test

# unit tests
npm run test

# e2e tests
npm run test:e2e

# test coverage
npm run test:cov

DB migration

# generate
npm run migration:generate <name>

# show all migrations
npm run migration:show

# run
npm run migration:run

# dry run
npm run schema:log

# revert
npm run migration:revert

Documentation

npm run doc

About

Scaffold quickly your next TypeScript API with this opinionated starter template for NestJS. Includes GraphQL support, TypeORM, Jest, Passport-JWT authentication, Swagger Api and more.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published