Advertisement
Guest User

Untitled

a guest
Mar 22nd, 2019
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. [ ] Create a RESTful API with the following requirements
  2. [ ] User registration
  3. [ ] Authentication & authorisation system using JWT
  4. [ ] Users should be able to:
  5. [ ] Register and select a role ['user', 'admin']
  6. [ ] Login
  7. [ ] Role Based Access Control
  8. [ ] Only user.role == 'admin' should be able to access protected endpoints
  9. [ ] Access the app based on their role (guest/registered user)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement