This app is looking for bars wthin 2km radius from your position. If you don't share your location by deafult it will find all bars next to Neptune's Fountain.
To run this project you need to have docker, google maps key and google public api key thats all ;)
What you need to do after clone this repo to a folder publicbars, go to that folder and run:
$ docker-compose up #to run and set environment
$ docker exec -it publicbars_php_1 bash #to connect to the container
$ composer install #install all dependencies, you will be ask to set your key to google public api
The last thing what you need todo is goto ./PublicBars/frontend/dist/index.html and set google maps key at the end of this url: http://maps.googleapis.com/maps/api/js?extension=.js&output=embed&key=YourApiKeyGoesHere
Now you can click http://127.0.0.1:8081 and check how many bars are around you.
cd backend
vendor/bin/phpunit
- Rewrite frontend to React
- Add persistance layer, eg. mongo
- Add tests to frontend