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

Register #11

Open
Swoozeki opened this issue Mar 9, 2018 · 1 comment
Open

Register #11

Swoozeki opened this issue Mar 9, 2018 · 1 comment
Labels
MVP user stories that define our minimum viable product

Comments

@Swoozeki
Copy link
Contributor

Swoozeki commented Mar 9, 2018

As a user:
I can register for a new account from the home page

View:
The register form is placed at both the main jumbotron and right above the footer. When user scrolls below the jumbotron, another register form takes place of the login button on the top sticky bar

Implementation:

  • User submits both the required email address and postal code
    • if either is missing, a red dot appear besides the missing field(s)
  • User is redirected to the signup page where the e-mail address and the location, based on the postal code before, are already filled.
    • User is required to fill the password field.
    • If any field is missing, a red dot appears besides the missing field(s)
  • User is redirected to ‘plan selection’ page
    • User is presented with two subscription options with price and description of each
    • User is required to choose one to proceed to the next step
  • User is redirected to the ‘billing’ page
    • Fields:
      • Name of card
      • Credit Card Number
      • Expiry Month and Expiry Year
      • CVC
    • User is also presented with a ‘choose another plan’ link that takes them back to the previous step
    • User is required to fill all the fields
    • The missing/invalid fields will have descriptive error message along with them
@Swoozeki Swoozeki added the MVP user stories that define our minimum viable product label Mar 12, 2018
@Swoozeki
Copy link
Contributor Author

Swoozeki commented Mar 22, 2018

Implementation Continued:

  • The client sends an AJAX POST request to the server with the form fields
  • Upon receiving the data, the server processes and sends back a response
    • If successful, the server sends an object with registered and logged in user's information
    • If failure, the server sends an error object with error status and message
  • Client receives response
    • If response contains an error object, the client displays the error messages to the user
    • If not, user is redirected to the lunch page

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
MVP user stories that define our minimum viable product
Projects
None yet
Development

No branches or pull requests

1 participant