package com.ratings.kkantor;

import static spark.Spark.get;

import com.ratings.kkantor.service.GameServiceImpl;
import com.ratings.kkantor.service.VotingServiceImpl;
import org.apache.logging.log4j.Logger;
import org.apache.logging.log4j.LogManager;

public class Bootstrap {
    private static final Logger logger = LogManager.getLogger(Bootstrap.class);

    public static void main(String[] args) {
        get("/test", (request, response) -> doStuff());
    }
    public static String doStuff() {
        logger.debug("Doing stuff");
        GameServiceImpl rs = new GameServiceImpl();
        VotingServiceImpl vs = new VotingServiceImpl();
        logger.info("Game added? " + rs.addGame("Kody's awesome game", true));
        logger.info("Voted. New score is " + vs.changeVote(true, "Kody's Awesome Game"));
        logger.info("Game ID is " + rs.findGame("Kody's awesome game"));
        logger.info("Deleted game and votes? " + rs.deleteGame("Kody's awesome game"));
        return "Hello!";
    }
}

@@ -449,24 +449,80 @@
 doStuff());%0A
+        get(%22/%22, (request, response) -%3E doMoreStuff());%0A
     %7D%0A    pu
@@ -551,16 +551,28 @@
 tuff() %7B
+%0A%0A        /*
 %0A       
@@ -1051,22 +1051,126 @@
     
-return %22Hello!
+*/%0A        return %22Testing testing!%22;%0A    %7D%0A%0A    public static String doMoreStuff() %7B%0A        return %22Doing more stuff
 %22;%0A 

Change test endpoint