RESTFUL API using Express.js with JWT Authentication and MongoDB Database Connection (Prototype)
Click here to see the documentation.
- Authentication (Register, Login, Logout, and Refresh Access Token)
- Transaction Post Data (Create, Read, Update, and Delete Data)
The data transaction feature requires authorization of the bearer token in every transaction. To get an access token, you need to register as a user and then log in using that account.
- After getting the access token, you need to copy the token and paste it in Authorization > Bearer Token
- If the token has expired, you need to refresh the token again (How to refresh the token is in the API Documentation)
Note:
- Access token will expire in 2 minutes
- Refresh Token will expire within 1 day