Ready to go Node.js + PostgreSQL Rest API project with JWT auth
- Take Pull of repo.
- Change project-repo name in packeg.json file (Optional)
- Run "npm install" command in root path.
- Generate Access token and Refresh token. (Steps shown below) || You can also use any random string for access_token and refresh_token.
- Run "npm run dev" command.
- Open terminal
- Run node
- Run require('crypto').randomBytes(64).toString('hex')
- Run the above command two times
- Use first result as "access_token_secret" and second as "refresh_token"
Contact mb.prodeveloper@gmail.com if you have any queries.