Skip to content

bclozel/matchmaking

Repository files navigation

Matchmaking - a Spring Boot 4 demo

Running the application

You need Java 25 and Docker Compose.

Start the OpenTelemetry backend with the usual command:

$ docker compose up -d

You then need to start the player backend any way you fancy. The easiest is as follows:

$ ./gradlew :playerprofile:bootRun

Of, if you prefer to use Maven:

$ ./mvnw -pl playerprofile spring-boot:run

Finally, the main matchmaking application can be started. You can do so in your IDE (run io.spring.sample.matchmaking.Application) or using the command-line as follows:

$ ./gradlew :matchmaking:bootRun

Or, again, if you prefer Maven:

$ ./mvnw -pl matchmaking spring-boot:run

Using the application

A number of scripts are available. You can queue players to start seeing them on the home page as follows:

$ ./queue.sh 50

See requests.http for more query you can run against the service.

To see what’s exported to the OpenTelemetry backend, browse to http://localhost:3000. The default credentials are admin/ admin.

About

Matchmaking server - a Spring Boot 4.0 demo

Resources

Stars

21 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors