Start of backend and webserver

This commit is contained in:
Gnarwhal 2021-01-27 14:35:09 -05:00
parent a06a558d7b
commit e7e5168073
Signed by: Gnarwhal
GPG key ID: 0989A73D8C421174
22 changed files with 130 additions and 283 deletions

View file

@ -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();