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