Skip to content

emoreno619/gSchoolRailsGroup_Eduardo_Jaya_Matthew

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#Connects users to vendors of gluten free and vegan foods

app in action

This app was built with a team of 3 over the course of 4 days

This Ruby on Rails with PostgreSQL app is designed to connect consumers of foods catered to special diets (like gluten-free and vegan) to vendors of those foods. Too often sites like Yelp and Google either connect users to locations that do not have those foods or do not provide enough information about those locations. Our app, Glorious Options, fixes that problem by presenting data from multiple brands and restaurants in one location, and includes options for users to suggest locations and brands/foods to be displayed as well.

Technologically, we encountered some difficulties in executing our vision. Initially, the app was designed to find and present users with locations dynamically, but due to rate limits from Google's Geocoding API and response times from food brand servers taking too long, it is too slow when deployed. Instead, the app should scrape the entirety of all locations for relevant brands and restaurants and store them in the database in order to avoid wait times for users. Not having realized this difficulty until the fourth of four days allocated to work on this project, those changes have not yet been implemented.

However, this app succeeds as a Ruby on Rails full CRUD application, backed by a PostgreSQL database that utilizes three resources (foods, locations and users) across five relations of both one-to-many and many-to-many.

##Rough distribution of individual responsibilities:

Eduardo: db architecture, model schema, web scraping, Google Maps API

Matthew: Google Maps API, routes, UI, product concept

Jaya: routes, authentication, CSS and UI

###Model Schema and Relations

Note to self: locationuser and fooduser tables/relations ARE the FAVORITES

About

This Ruby on Rails with PostgreSQL app is designed to connect consumers of foods catered to special diets (like gluten-free and vegan) to vendors of those foods.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published