Find restaurants 1.5km around you and see the route on the map with your GPS.
This project can be used also to make routes for hotels, tubes stations and other different places, just change the API parameters.
This can be also reusabled by other apps which require different components using the same skeleton and the CSS library.
- Download Meteor: https://www.meteor.com/install
- Install dependencies
npm install
- Run the project either with
meteor run
(first time will take a while)
You also can run the project directly on your phone withmeteor run android-device
(also available for IOS but not tested) - To avoid CORS issues install this extension on Chrome (or similar one on different browser): https://chrome.google.com/webstore/detail/allow-control-allow-origi/nlfbmbojpeacfghkpbjhddihlkkiljbi?hl=en
- In order to use Google APIs you will need to use an API key. If you do not have one go here: https://developers.google.com/maps/documentation/javascript/get-api-key
You will also need to add this new key inhome.js
a andindex.html
If you only want to build the project (not deploy it) just run:
npm install --production
meteor build /path/to/build --architecture os.linux.x86_64
(for example if deploying to a Ubuntu linux server)
To build a mobile apk:
meteor add-platform android
(also available for IOS but not tested)meteor build ../output-build --server http://MY_SERVE_IP
we will found our apk to be installed on our Android device