Authentication-microservice
$ npm install
# development
$ npm run start
# watch mode
$ npm run start:dev
# production mode
$ npm run start:prod
# unit tests
$ npm run test
POST /auth/# HTTP/1.1
Host: localhost:3000
Content-Type: application/json
Content-Length: 57
{
"username": "example",
"password": "password"
}
GET /auth/protected HTTP/1.1
Host: localhost:3000
Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VybmFtZSI6ImV4YW1wbGUiLCJzdWIiOjEsImlhdCI6MTY4NzQ2NTg2MiwiZXhwIjoxNjg3NDY5NDYyfQ.6ocnUcnAipKMIPzER9CNlDfLtuHdTj__clMvGvcqnrw
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.
- Author - Edgard junior
authentication-microservice MIT licensed.