/jwtapi

Primary LanguageJavaScript

JWTAPI

A sample api setup to use jwt for authentication

How to run

  1. Create config.js file with the following content:
module.exports = {
  secret: "dkjfjfjjlij34j5k43jro34iwrckwvsdf@#$%#%EDWKRJEKrj"
};
  1. Run the following: $ node app.js