Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement log in page #58

Open
4 tasks
Dakad opened this issue Jul 12, 2017 · 0 comments
Open
4 tasks

Implement log in page #58

Dakad opened this issue Jul 12, 2017 · 0 comments
Labels

Comments

@Dakad
Copy link
Member

Dakad commented Jul 12, 2017

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
@Dakad Dakad self-assigned this Jul 12, 2017
@Dakad Dakad removed the design label Jul 14, 2017
@Dakad Dakad mentioned this issue Jul 18, 2017
6 tasks
@xavez xavez unassigned Dakad Jul 23, 2017
@xavez xavez changed the title Backend CRUD on User Implement log in page Jul 24, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant