The project has the api routes for signing up and logging in the user, but there is no authentication system initialized yet. This results in protected routes being exposed to all users irrespective of their auth states.
Expected Outcome
Once the user logs in, an access token is sent to the user, which can be used as a primary validation key for all the user requests in the entire session.
Create a user session for logged in user and continue it till the user logs out.
Connect the backend api with the frontend signup and login forms.
Description
The project has the api routes for signing up and logging in the user, but there is no authentication system initialized yet. This results in protected routes being exposed to all users irrespective of their auth states.
Expected Outcome