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
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