APIs in NodeJs for User registration and authentication.
- NodeJs
- config.js - File with same structure as below
module.exports = {
'secret': 'abcdefg', //Secret Key for jsonwebtoken generation
'orcestrateApiKey':'xyz', //DB as Service API key
'orchestrateLocation':'example.xay.cok', //Location of Database
'sendgridUser':'sendgrid_user', //SendGrid username(username===apikey)
'sendgridApi':'sendgrid_password' //SendGrid Password
};
Execute the following commands:
+ `npm install`
+ `node index.js`