-
Notifications
You must be signed in to change notification settings - Fork 0
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
Adds registration management to the API. #23
Merged
AlphaHydrae
merged 14 commits into
sprint-2-discovering-actions
from
update-subscription
Mar 26, 2019
Merged
Adds registration management to the API. #23
AlphaHydrae
merged 14 commits into
sprint-2-discovering-actions
from
update-subscription
Mar 26, 2019
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Registration being the process of someone registering with their email to receive updates, notifications or news on the BioPocket project. Adds a new table `registrations` to store the people information such as first and last name, and their email address. Adds a new route `/api/registration` that creates a new registration on the database. Add documentation and test for this new API route. STORY: TG-152
This route will allow the mobile app to test for the availability of an email address while a user type it in the registration form. Add documentation for this new route, along with a couple of unit test.
Add missing `@module` decoractor on some functions. Move the `getExpected...` functions from the tests to the test utilities
Add test and documentation for this new route.
Also add a new varible in the sample file to limit pagination. It should be limited to 25 (maybe it ought to be the default value?)
AlphaHydrae
requested changes
Mar 26, 2019
Co-Authored-By: Tazaf <Tazaf@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Registration being the process of someone registering with their
email to receive updates, notifications or news on the BioPocket project.
Adds a new table
registrations
to store the people information such asfirst and last name, and their email address.
Adds a new route
/api/registration
that creates a new registration onthe database.
Add documentation and test for this new API route.
STORY: TG-152