A basic app for learning Ionic 2.
The app uses these features from Ionic 2:
- tabs
- list
- item
- card
- searchbar
- refresher
- grid
- horizontal scroll
- ionicons
- Ionic Native
- push/pop nav
- modal
- avatar
- slides
- utility attributes
To run the app, clone or download it, then do the following in the project directory:
npm install
to install dependenciesionic plugin add geolocation
to get the Cordova Geolocation pluginionic serve
to run in the browser
If you want to run this on a device, you'll have to do the song and dance of either setting up USB debugging on your Android device, or code signing and etc. on your iOS device. Here's some instructions on how to do that in Xcode: http://bit.ly/deploy-without-dev-account
This app has a two tab UI, one that shows nearby restaurants and one that allows you to search. All data is proxied through a little Express API I built that pulls from the Foursquare API. You can also tap on any of the results to see a detail view that includes a swipeable row of thumbnail images of the place.
Feel free to checkout this sample, but please remember it pulls it's data from a lightweight Express.js API that proxies the Foursquare API. I built the API for demo purposes, so I'm not sure what will happen if it gets too much traffic, so be kind to it. =)