Skip to content

KConlon13/ChewsyBackend

Repository files navigation

CHEWSY (iOS App)

An allergy-friendly restaurant locator for NYC

Motivation

As a person with many many food allergies myself, I have always struggled to find trustworthy and credible restaurants that I was sure could accommodate my dietary restrictions. I also grew up with an older brother who happens to have a very serious peanut allergy, and there have been many instances where he had to be hospitalized after a waiter/restaurant did not prepare his food properly. For this reason, me and my family are always very hesitant to go out to eat- which is very unfortunate. If only there was an application/service that would help you find restaurants in your area that were CREDIBILY KNOWN to be able to handle your specific allergy professionally... enter Chewsy! ;)

Build Status

Complete

Tech/Frameworks Used

Built with: React Native, Ruby on Rails, React Native Elements, Heroku, and Postgres

Features

-Users can create an account, sign in, and logout

-Users can toggle between creating an account or logging in on landing page

-Users can view all restaurants on the home page

-Users can click on a restaurant card to view more information about said restaurant

-Users can sort restaurants by whichever allergy they choose (peanut, treenut, gluten, wheat, egg, dairy)

-Users can "favorite" a restaurant and add it to their favorites page

-Users can toggle between the home page and their favorites page

Screenshots

Screen Shot 2019-10-18 at 11 36 51 AM

Screen Shot 2019-10-18 at 12 01 32 PM

Screen Shot 2019-10-18 at 11 37 18 AM

Screen Shot 2019-10-18 at 12 01 02 PM

Screen Shot 2019-10-18 at 12 01 14 PM

Screen Shot 2019-10-18 at 11 37 38 AM

Screen Shot 2019-10-18 at 11 37 55 AM

Code Examples

Screen Shot 2019-10-18 at 12 35 46 PM

Screen Shot 2019-10-18 at 12 36 20 PM

Screen Shot 2019-10-18 at 12 37 51 PM

Installation

Frontend => type "expo start" into the command line

Backend => deployed via Heroku at:

"https://chewsy-backend-api.herokuapp.com/users", "https://chewsy-backend-api.herokuapp.com/restaurants", & "https://chewsy-backend-api.herokuapp.com/favorites"

API Reference

Deployed via Heroku, the API data users, restaurants, and favorites can be found by appending those words onto the end of "https://chewsy-backend-api.herokuapp.com/" to view

How to Use

  1. Create an Account
  2. View All Restaurants via scrolling
  3. Click on a Restaurant to view location, bio, and allergies accommodated by that restaurant
  4. Using the picker at the top of the page, scroll through to sort the homepage restaurants by whichever allergy you choose
  5. Click on the Favorite button to "Favorite" a restaurant and have it saved to your favorite restaurants page
  6. You may toggle between the home page and the favorites page via the icon buttons in the top right corner
  7. By clicking on the icon button in the top left corner a user may logout

CREDITS

Sole Owner/Contributor: Kyle Conlon

About

Backend for Mod5 Project Chewsy

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published