Create file .env or copy .env.example to .env
mv .env.example .env
docker-compose build
docker-compose up
curl --location 'http://localhost:4000/api/v1/request-ride' \
--header 'Content-Type: application/json' \
--data-raw '{
"coordinates":[
15.35567,
30.98765
],
"name": "Andres",
"email": "[email protected]",
"phone": "3145671247"
}'
curl --location 'http://localhost:4000/api/v1/finish-ride/7' \
--header 'Content-Type: application/json' \
--data '{
"end_location":[
15.364728509,
30.98765
]
}'