Skip to content

hafidbuilds/auth-jwt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hello Auth


Requirements

Let's add an auth layer to our apps!

Input

  • 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

  • Secured app

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