-
Notifications
You must be signed in to change notification settings - Fork 0
/
Requirements.txt
22 lines (20 loc) · 1.09 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 a custom sign up form
Stripe Integration
* Users should have a stripe customer token in the user table
* Javascript should prevent pro form from submitting, when user fills it out,
and should send card info to Stripe. Stripe will return a card token.
* Javascript should send user fileld and card token to our rails app. Rails app
should validate the user fields. Rails app will noote whether plan1 or plan 2.
*Once validated , Rails should send user info (email,plan id) and card token
to Stripe Server and Stripe 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