A progressive Node.js framework for building efficient and scalable server-side applications.
Nest framework TypeScript starter repository.
$ npm install
# development
$ npm run start
# watch mode
$ npm run start:dev
# production mode
$ npm run start:prod
# unit tests
$ npm run test
# e2e tests
$ npm run test:e2e
# test coverage
$ npm run test:cov
Endpoint: POST /auth/login
Body:
{
"username": "admin",
"password": "admin"
}
Add bearer token to head: Authorization: Bearer TOKEN
.
Endpoint: GET /auth/profile