Skip to content

hpakdaman/geo-application-test

Repository files navigation

after cloning, enter this command : (you should have installed composer on your machine)

composer install  

for testing, enter this command in terminal:

php ./vendor/bin/phpunit  

for running, enter this command in terminal:

php -S localhost:8000 -t ./public/   

please check your machine should meets the below requirements:

  • PHP >= 7.3
  • OpenSSL PHP Extension
  • PDO PHP Extension
  • Mbstring PHP Extension

For defining POI be careful the radius unit is base on kilometer. so if you want to convert it to meter, just divide it to 1000. for example :

if your radius is 200 meters so you should enter 0.20

200/1000 = 0.20

For accessing to all of API's urls, Install postman from this link and then import this project to postman.

About

A simple Restful API for managing Geo spots

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published