Hi,
I can do simple authentication and authorization with JWT token in your application.
In the database, I'll add table user with fields email, password, role
In the backend, I'll add 2 endpoints to your application:
- login ( compare email and password form database and return JWT token)
- token ( endpoint to check if the token is valid and return data about the user)
In the frontend, I'll add one component:
- login (a form which sends email and password to the backend and waits for response)
Also, I'll add a guard to angular which will check if a user is signed in and checks if the role allows enter to the page.
The price is without any CSS and without Google/Facebook integration.