Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [ ] Create a RESTful API with the following requirements
- [ ] User registration
- [ ] Authentication & authorisation system using JWT
- [ ] Users should be able to:
- [ ] Register and select a role ['user', 'admin']
- [ ] Login
- [ ] Role Based Access Control
- [ ] Only user.role == 'admin' should be able to access protected endpoints
- [ ] Access the app based on their role (guest/registered user)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement