Start of backend and webserver
This commit is contained in:
parent
a06a558d7b
commit
e7e5168073
22 changed files with 130 additions and 283 deletions
|
@ -20,7 +20,7 @@ public class Controller {
|
|||
public Controller() {}
|
||||
|
||||
@RequestMapping(value = "/achievements", method = GET, produces = "application/json")
|
||||
public ResponseEntity index() {
|
||||
public ResponseEntity<String> index() {
|
||||
try {
|
||||
var achievements = db.getAchievements();
|
||||
var mapper = new ObjectMapper();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue