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

Create API accounts #2

Open
zeroXbrock opened this issue May 23, 2019 · 0 comments
Open

Create API accounts #2

zeroXbrock opened this issue May 23, 2019 · 0 comments
Labels
feature New feature or request
Milestone

Comments

@zeroXbrock
Copy link
Member

zeroXbrock commented May 23, 2019

Users must be able to register an account with the API. This should generate an API key for them which will then be used to authenticate them with all other endpoints.

/apiUser
Input: {email: String, password: String}
DB Output: {email: String, password: String, api_key: UUID, itembase: String (Address; H160)}
POST Output: {api_key: UUID}

AC:

  • adheres to data format criteria (above)
  • deploys new itembase contract
  • generates an API key
  • creates unique database entry (api_key is PRIMARY KEY, email is UNIQUE)
@zeroXbrock zeroXbrock added the feature New feature or request label May 23, 2019
@zeroXbrock zeroXbrock added this to the 0.1 milestone May 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant