Skip to content

Latest commit

 

History

History
62 lines (46 loc) · 1.87 KB

README.md

File metadata and controls

62 lines (46 loc) · 1.87 KB

No You Choose

Features

  • Make a plan between two users (or many)

    1. Choose location
    2. Choose Date/Time
    3. Invite People to plan
    4. Do you want to add cuisines?
    5. Do you want to add price ranges?

Database

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