As a Gym Owner I want to be able to create users with login credentials, and user information
PREREQ: Must have roles assigned to users so we must extend the application allow for user roles. This can be done with a simple bool isAdmin but for most other applications we would likely want to have multiple roles.
Add to API to accept requests to POST users provided the role is an administrator
Add a member called isAdmin to User in client and server side of the application
Add a means to send that data to the server from C++ - Use the user class to extend to an object will add two members called password and confirm password
Create a frame that will allow user to send it via a form
Show an error message if the server fails to upload a user
Show an Accepted message the server uploads a user
Check that the users are added on the server every time
Add to API to accept requests to POST users provided the role is an administrator [DONE]
Add a member called isAdmin to User in client and server side of the application [DONE]
Other work done today: Added users view
Add a means to send that data to the server from C++ - Use the user class to extend to an object will add two members called password and confirm password
Create a frame that will allow user to send it via a form
Show an error message if the server fails to upload a user
Show an Accepted message the server uploads a user
Check that the users are added on the server every time
As a Gym Owner I want to be able to create users with login credentials, and user information
PREREQ: Must have roles assigned to users so we must extend the application allow for user roles. This can be done with a simple bool isAdmin but for most other applications we would likely want to have multiple roles.