-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathRequirements.txt
22 lines (20 loc) · 1.11 KB
/
Requirements.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Memberships
* User should see link for basic plan on home page
* User should see link for pro plan on home page
* Basic plan link should point to regular Devise sign up form
* Pro plan link should point to custom Devise sign up form
Stripe Integration
* Users should have a Stripe customer token in the users table
* Javascript should prevent Pro form from submitting , when user fills it out,
and should send card info to Stripe. Stripe will return with a card token.
* Javascript should send user fields and card token to our rails app for validation.
Rails app should validate the user fields. Rails app will note whether plan 1 or plan 2.
* Once validated rails should send user info(email, plan_id) and card token to Stripe
server and Stipe will create a subscription and send back customer token. Rails should
save customer token and user information to our database.
User Profiles
* Each user should have one profile
* User should see link to new profile form upon signing up
* User should be able to create and view their user profile
* User profile should have a profile picture
* User should be able to view all user profiles