jamieg045 / PPIT

0 stars 0 forks source link

Add Registration Page #7

Closed jamieg045 closed 5 months ago

jamieg045 commented 7 months ago

This feature should allow for creating user details and storing them in a MYSQL database with separate functions that can determine the function of the application depending on the user.

jamieg045 commented 7 months ago

Added page to components folder of the application. No functionality yet just for experimentation on look & feel on application page. Further research on authentication and registration features ongoing.

jamieg045 commented 6 months ago

Added functionality to add a user to the application, layout is very similar to adding Products for now. Will be tweaking layout and logic of logging in users in next iterations. For now, users can be added to the database and the backend server reflects that in the MYSQL users table.

jamieg045 commented 6 months ago

Added styling to the login page, I restructured it as a Registration page as I realized I was asking it to register details to the database rather than pull existing data from the database. Login functionality will be looked into further in next iterations. Added navigation when a user is added, they are navigated back to the menu section.

jamieg045 commented 6 months ago

Issue with registration & login fixed. Layout & look of page is left to be considered. Will be updated in upcoming iterations

jamieg045 commented 5 months ago

Changed my MYSQL database so that when a user role is entered matching a certain enum that the role_id is filtered to the number of the role, this was intended to play further into the functions that each user would have under a role but was unused in the end.