Starting point for secured Node.js API
How to use this repository.
- Clone this repository.
- Rename
.env.exampleto.env - Add your config to
.env - Install dependencies
npm ioryarn installor simplyyarn - Run the project using
npm startoryarn start - Visit the server by
http://localhost:3080 - Now try to get JWT token by sending a
POSTrequest using Postman to end-ponthttp://localhost:9080/auth
{
"email": "[email protected]",
"password": "pass"
}