Creating API with JWT user authentication using the following:
- nodejs
- Express
- jwt
- passport
- ArangoDB
- Set JWT secret key
- Set location to ArangoDB
- Set database in ArangoDB
npm install
- Make sure ArangoDB is running
node server
Register by providing username
and password
.
Authenticate by providing username
and password
.
Get user data by providing token
.
Based on https://github.com/clemudensi/nodeJS_backend
MIT