// Collection of code snippets by Arne Vajhøj 
// (from articles on eksperten.dk / vajhoej.dk written sometime between 2004 and now) 
package demo;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication(scanBasePackages = {"ws.rest" })
public class TestServer {
    private static final String PORT = "8082";
    private static final String API = "/testapi";
    public static void main(String[] args) {
        System.setProperty("server.port", PORT);
        System.setProperty("server.servlet.context-path", API);
        SpringApplication.run(TestServer.class, args);
    }
}
