Freddy444 / Songrating-Freddy.Max

MIT License
0 stars 0 forks source link

Issue#42-login/logout #78

Closed max-opps closed 10 months ago

max-opps commented 11 months ago

As in the previous homework, registering new users and keeping track of logged-in state would be handled at the backend. At the frontend, upon registration of a new user, you could POST their username and password to the database using an async axios call.

TLDR: keep track of login/logout state, allow the user to create a username/password to be saved to the database. Probably also display 'you are logged in as ____' or 'you are not logged in' at the top, and make only log in OR log out button visible

Freddy444 commented 10 months ago

REWROTE LOGIN/LOGOUT