项目作者: hafidium
项目描述 :
Basic jwt authentication
高级语言: JavaScript
项目地址: git://github.com/hafidium/auth-jwt.git
Hello Auth
Requirements
Let’s add an auth layer to our apps!
- New or existing backend project
- Frontend project are not mandatory yet
Process
- Architect your project to gain an auth layer
- Implement the routes and auth into it
Output
Level 0
- Plan and design your app to be secured with an auth layer: password, token, session, etc
- Remember to separate public and authenticated routes
Level 1
- Secure your routes with an auth check/middleware
- Use a specific library if you need
Level 2
- Implement your frontend with the enhanced backend
Level 3
- Use OAuth with social media platforms to take it further