-
Notifications
You must be signed in to change notification settings - Fork 3
Implement log in page #58
Copy link
Copy link
Open
Labels
Description
CRUD on User
It's a new feature to allow CRUD on User. User is someone using the application.
Model
| Users |
|---|
| Id (PK) |
| name (String) Not Null |
| email (String) Not Null Unique |
| password(String) Not null |
| role[admin,visitor]=visitor |
- Users 1 -->1,n Entities
- Users 1 -->1,n Providers
- 1 User has 1 or Many Entity
- 1 User has Many Providers
Services
We'll create a Controller class that provides the following functionality:
-
get: retrieve user
Parameters :
Return: If parameter is null, return all users otherwise those requested
Error: -
post: create a new user
Parameters :
Return: All properties but id of the user stored in DB.
Error : -
put: modify a specific user
Parameters: Not null
Return: All properties but id of the user stored in DB.
Error : -
delete: delete a specific user
Parameters: Not null
Return: All properties but id of the userstored in DB.
Error :- If the specified user doesn't exist
Reactions are currently unavailable