Skip to content

CerealKiller97/nestjs-starter

Repository files navigation

nestjs-starter

Minimal NestJS boilerplate

Getting started

Setup

git clone https://github.com/zsevic/nestjs-starter
cd nestjs-starter
cp .env.sample .env # change values after copying
npm i
npm run start:dev

Build

npm run build
npm start

Linting

npm run lint
npm run lint:fix

Testing

npm test

Migrations

npm run migration:generate <MIGRATION_NAME>
npm run migrate
npm run migrate:down

Seeders

npm run seed:generate <SEEDER_NAME>
npm run seed
npm run seed:down

API documentation

API documentation is generated using @nestjs/swagger module at /api-docs endpoint

Technologies used

  • Node.js, TypeScript, NestJS, TypeORM

About

Minimal NestJS boilerplate

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published