Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 1.15 KB

File metadata and controls

31 lines (22 loc) · 1.15 KB

Spring Boot

To run the spring boot application, execute the following command in the root directory of the project:

./gradlew bootRun

The application is then available at http://localhost:8080. There are three endpoints available:

  • / or /public: accessible without authentication
  • /private - accessible with authentication
  • /private/user - accessible with authentication and prints the user information

Keycloak

To create a preconfigured Keycloak container, make sure Docker is running on your system and execute the following command in the root directory of the project:

docker-compose up --build

Keycloak is then available at http://localhost:8081. The Keycloak container is preconfigured. To log into the administation console, use the following credentials:

  • Username: admin
  • Password: admin

A realm specifically configured for this application is imported automatically. You can use the following credentials to log in to the application:

  • Username: john.doe
  • Password: password