Commit d89ebeee authored by Smejky338's avatar Smejky338
Browse files

Basic skeleton of webserver on localhost:8080/pa165

TODO controllers and routing
parent e3179807
Pipeline #133026 waiting for manual action with stage
......@@ -29,7 +29,9 @@ Make sure you are using Java 11 to build and run the project.
Build: `mvn clean install`
Run: `cd secret-service-dao && mvn spring-boot:run`
Run: `cd secret-archive-dao && mvn spring-boot:run`
Run REST API: `mvn clean install && cd secret-archive-dao && mvn cargo:run`
The API will be available at localhost:8080/pa165.
There is h2 console is available at https://localhost:8080/h2-console, User Name: admin, Password: admin
......@@ -4,8 +4,11 @@
<!-- for web cargo -->
......@@ -19,7 +22,30 @@
<!-- embedded tomcat -->
* Represents the entry points for the API
* @author Jan Smejkal, inspired from brossi
public abstract class ApiUris {
public static final String ROOT_URI_COUNTRIES = "/countries";
public static final String ROOT_URI_AGENTS = "/agents";
public static final String ROOT_URI_MISSIONS = "/missions";
public static final String ROOT_URI_REPORTS = "/reports";
public static final String ROOT_URI_RESOURCES = "/resources";
//public static final String ROOT_URI_ = "/";
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment