We have three PoC in this project:
- PoC to use Spring framework to handle REST Services.
- PoC in Java language to find students that is inside a course using their geolocation.
- PoC in Python language to find students that at least two are inside the same class using their geolocation.
- Antonio Mamani - antonio.mq@gmail.com
PoC to create Rest Services using the Spring Framework and Java 8
- compile the project
mvn compile
- generate Jar
mvn package
- run project
java -jar target/course-api-0.0.1-SNAPSHOT.jar
- Open your favorite browser and open the following url :
http://localhost:8080/
- To see documentation open the file
rest-documentation.ymal
in http://editor.swagger.io/
The format printed is not the same from the examples, but the answer is the same that we want
Import the project in IDE that you want and execute the class Main also you can run the UnitTest in the project
The script main.py call the method exampleSimulationOne
that calls all methods to simulate studentClustersInClasses
- Python 2.7.6
To run project enter to the directory student-geolocation-python
then run the following command in terminal:
python main.py