a) Install maven from here
b) Unzip maven and keep in C drive (you can keep any location. Path location will be changed accordingly).
install JDK here
install JRE here
Open CMD and run
git clone https://github.com/D-Alegria/robot-apocalypse-sampana.git
mvn clean install
mvn spring-boot:run
curl -L -X POST "http://localhost:8080/api/v1/survivor" ^
-H "Content-Type: application/json" ^
--data-raw "{ \"name\": \"Akon Zulu\", \"age\": 40, \"gender\": \"Male\", \"location\": { \"longitude\": 100.00, \"latitude\": 150.00 } }"
curl -L -X PUT "localhost:8080/api/v1/survivor/location/15e41515-1aa3-4194-9435-" ^
-H "Content-Type: application/json" ^
--data-raw "{ \"longitude\": 1000.00, \"latitude\": 1780.00}"
curl -L -X POST "localhost:8080/api/v1/survivor/report/infected" ^
-H "Content-Type: application/json" ^
--data-raw "{\"infectedUuid\": \"52aa13ab-de7c-4a7c-b450-208e4f5e4bab\",\"informantUuid\": \"998b76ef-7a09-4954-ad6f-fdb65c2508a5\"}"
curl -L -X GET "localhost:8080/api/v1/robot"
curl -L -X GET "localhost:8080/api/v1/report"