- Run
./gradlew build
to build your application - Start application with
./gradlew bootRun
- To check that your application is running, check http://localhost:8080/swagger-ui.html
Note: The Swagger UI does not support the 'Subscription Query' further on in the assignment,
as Swagger does not support streaming results.
Issuing a regular curl
operation, or something along those lines, is recommended to check the Subscription Query.
Note 2: If you are on Intellij IDEA, you can also use the command-request.http
and query-request.http
files in this project to send requests directly from your IDE.
Several defaults have been provided, but feel free to play around here!
The application has the 'H2 Console' configured, so you can peek into the database's contents.
Visit: http://localhost:8080/h2-console
Enter JDBC URL: jdbc:h2:mem:testdb
Leave other values to defaults and click 'connect'.