Nest Logo

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

NPM Version Package License

Description

Courses API developed using Nest Framework

Installation

$ npm install
$ npx typeorm migrate:run

Running the app

# development
$ npm run start

# watch mode
$ npm run start:dev

# production mode
$ npm run start:prod

End points

# Acesse a documentação OpenAPI criada utilizando o swagger
GET /docs

# get a accessToken (email: teste@teste.com, password: teste)
POST /users/auth

# list all courses
GET /courses

# create a new course
POST /courses

# get a course details
GET /courses/:id

# update a course
PATCH /courses/:id

# remove a course
DELETE /courses/:id

License

Nest is MIT licensed.