-
Make a plan between two users (or many)
- Choose location
- Choose Date/Time
- Invite People to plan
- Do you want to add cuisines?
- Do you want to add price ranges?
User | Data Type | ----------------|---------------|------- name | string | phone_number | string | password_digest | string |
Session | Data Type | Notes |
---|---|---|
user_id | integer | foreign key for users |
token | string |
Plan | Data Type | Notes |
---|---|---|
zipcode | string | for location purposes |
time | string | |
min_price | integer | number between 1 & 5 |
max_price | integer | number between 1 & 5 |
Cuisine | Data Type |
---|---|
title | string |
UsersPlans | Data Type | Notes |
---|---|---|
user_id | integer | foreign key for user |
plan_id | integer | foreign key for plan |
PlansCuisines | Data Type | Notes |
---|---|---|
plan_id | integer | foreign key for plan |
cuisine_id | integer | foreign key for cuisine |
PotentialRestaurants | Data Type | Notes |
---|---|---|
restaurant_id | integer | foreign key for restaurant |
plan_id | integer | foreign key for plans |
Restaurant | Data Type | Notes |
---|---|---|
yelp_id | string | refers to yelp api |
RightSwipe | Data Type | Notes |
---|---|---|
user_id | integer | foreign key for users |
potential_restaurant_id | integer | foreign key for potential restaurants |