Built with React Native and the Yelp API
You must have Xcode (Mac OS) or Android Studio installed to follow the below instructions.
LocalFood uses the Metro Bundler https://facebook.github.io/metro/
To run the app:
- Download code to your local machine
- You will need to install Metro via terminal, run: npm install --global expo-cli
- In Terminal, cd into the root folder 'food', then run 'npm start'
- The Metro Bundler will load in your browser at http://localhost:19003/
- In the left rail of the Metro Bundler in your browser window, click option to run the iOS Simulator (or Android)
- When app loads, click into the search box and search any food-related term to find Brooklyn restaurants!
Please note you will not be able to use the 'Run in web browser' option with Metro, as the API will cause a CORS error.
- ResultsList.js
- ResultsDetail.js
- SearchBar.js