This repository has been archived by the owner on Nov 6, 2021. It is now read-only.
Implement a rest endpoint /register
that receives a POST request from the diaper app
#5
Labels
This deals with registering a partner (user) through the diaper app. The process of registration happens when the diaper app sends a POST request to the /register endpoint as described below.
When
The app receive a registration request on the/api/v1/register
routeThen
the system will create a new partnerAnd
the system will email the partner with the registration linkThe /register POST request includes the following payload:
Tests should be included that makes sure the registration link is sent. Docs on how to add rspec tests for action mailer is found here
The text was updated successfully, but these errors were encountered: