LP2: Projeto Final com Sparkjava
cd <DIRECTORY HOME>
mvn clean install
mvn compile package
mvn exec:java -Dexec.mainClass="Main"
- Post:
http://localhost:4567/hello
- Post:
http://localhost:4567/problem/addProblem
- Get All:
http://localhost:4567/problem/searchAllProblems
- Get By ID:
http://localhost:4567/problem/searchProblemByID/<problemID>
- Delete By ID
http://localhost:4567/problem/deleteProblemByID/<problemID>
- Post:
http://localhost:4567/expectedAnswer/addExpectedAnswer
- Get All By Problem ID:
http://localhost:4567/expectedAnswer/searchAnswersByProblemID/<problemID>
- Post:
http://localhost:4567/sourceCode/addSourceCode
- Get By Filter:
http://localhost:4567/sourceCode/searchSourceCodeByFilter
stop();
ctrl+c