As a User, I can sign up, log in, log out, update, and delete my account so that I can manage my data and control my access to the platform. I can also sign up and log in using my email or social media accounts (e.g., Google, Facebook) so that I can quickly create an account. #12
---Frontend
-Log in feature in the navbar (it can be changed later on), to display a log in form and correct error management
-Sign in feature in the navbar (it can be changed later on), to display a sign in form and correct error management
-It should work with the sign up and log in endpoints in the back end for the user
-build the logout feature in the navbar and work on conditional rendering, so that when the user is loged in the navbar will show options to logout and profile, and when the user is not logged in, the navbar will show login and sign in options
-In the users profile we can display the users info, options to register as a client or provider and finally options to delete or update his account (This should work with the backend for the user)
-When loggin or signing up the user must have the option to create account or loggin by using social media accounts or gmail... Make changes in the backend if needed
---Backend
Modify sign up method to generate and return a token once the user is signed up so that it can be loged in when sign up
Build endpoints for PUT, DELETE, POST, GET to manage the users data in the frontend
Acceptance criteria
---Frontend -Log in feature in the navbar (it can be changed later on), to display a log in form and correct error management -Sign in feature in the navbar (it can be changed later on), to display a sign in form and correct error management -It should work with the sign up and log in endpoints in the back end for the user -build the logout feature in the navbar and work on conditional rendering, so that when the user is loged in the navbar will show options to logout and profile, and when the user is not logged in, the navbar will show login and sign in options -In the users profile we can display the users info, options to register as a client or provider and finally options to delete or update his account (This should work with the backend for the user) -When loggin or signing up the user must have the option to create account or loggin by using social media accounts or gmail... Make changes in the backend if needed
---Backend Modify sign up method to generate and return a token once the user is signed up so that it can be loged in when sign up Build endpoints for PUT, DELETE, POST, GET to manage the users data in the frontend