benhuangbmj / cmp-lab-schedule

The front-end of a human resource management app designed for higher education built with React and powered by Vite.
0 stars 2 forks source link

Separating customers and employees #67

Open benhuangbmj opened 2 months ago

benhuangbmj commented 2 months ago

What: When a new user signs up, display a prompt to inquire whether the user is signing up as a customer or an employee. In the Login component, place two buttons, one for customer login, another for employee login.

Set up profile only for employees.

Extension: Restructure the UI and the backend (session storage) to accommodate non-enlisted users. The session should remember the answer of the user, and the whole UI should function properly even if the user is not in the employee database.