eatery-ios
eatery-ios copied to clipboard
An open-source iOS app for Cornell eateries and dining halls.
Eatery - Cornell Dining Made Simple

Eatery was the first app made by AppDev, an engineering project team at Cornell University focused on mobile app development. Eatery provides an easy and accessible way to browse the hours/menus of the dining locations on campus as well as keep track of your dining history. Download the current release on the Apple App Store.
Development
1. Installation
We use CocoaPods for our dependency manager. This should be installed before continuing.
To access the project, clone the project, and run pod install in the project directory.
2. Configuration
-
We use Firebase for our user analytics. You will have to retrieve a
GoogleService-Info.plistfrom Firebase and then place it inside theEatery/directory. -
We also use
GraphQLto retrieve data from our backend server and useApolloon the client side in order to help us do so.
To setup Apollo, you will have to first install it by running npm install -g [email protected] in the project directory (make sure you specify version 1.9).
You will also have to retrieve a schema.json file by running: apollo schema:download --endpoint={Backend_URL} schema.json in the project directory.
- Lastly, you will need a
Secrets.plistfile that you will want to place inside theEatery/Supporting/directory. The following is a template for theSecrets.plistfile:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>announcements-scheme</key>
<string>insert-value-here</string>
<key>announcements-host</key>
<string>insert-value-here</string>
<key>announcements-common-path</key>
<string>insert-value-here</string>
<key>announcements-path</key>
<string>insert-value-here</string>
</dict>
</plist>
Finally, open Eatery.xcworkspace and enjoy Eatery!