Horlando-Leao / hello-world-nestjs

Project example with user and api in Nestjs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Nest Logo

A progressive Node.js framework for building efficient and scalable server-side applications.

NPM Version Package License NPM Downloads CircleCI Coverage Discord Backers on Open Collective Sponsors on Open Collective Support us

Description

Nest framework TypeScript starter repository.

Installation

$ npm install

First time to run project

# create file enviroment
$ cp env.example .env

Running the app

# development
$ npm run start

# watch mode
$ npm run start:dev

# watch mode swc (fast)
$ npm run start:swc

# production mode
$ npm run start:prod

Build app

# build
$ npm run build

# build swc (fast)
$ npm run build:swc

Test

# unit tests
$ npm run test

# e2e tests
$ npm run test:e2e

# test coverage
$ npm run test:cov

ORM

# describe options ORM
$ npx prisma

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.

Stay in touch

License

Nest is MIT licensed.

Stack

  • Prisma ORM
  • HttpService (nestjs/axios)
  • class-transformer (dto)
  • class-validator (dto)
  • cache-manager
  • express (server http)
  • jest (test)
  • swc - https://docs.nestjs.com/recipes/swc
  • swagger (open api)

About

Project example with user and api in Nestjs


Languages

Language:TypeScript 95.7%Language:JavaScript 4.3%