Skip to content

omenrpg/Bars

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PublicBars

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 ;)

Instalation

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.

Unit tests

cd backend
vendor/bin/phpunit

ApiDoc

http://127.0.0.1:8080/api/doc

Todos

  • Rewrite frontend to React
  • Add persistance layer, eg. mongo
  • Add tests to frontend

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published