Skip to content

devops-ws/learn-springboot

Repository files navigation

learn-springboot

This project aims to verify linuxsuren/api-testing.

Run E2E testing:

make build-image test-e2e

Run with Maven command:

mvn spring-boot:run

Change the listen port:

java -jar demo.jar --server.port=8081

OpenAPI definition

You can visit it via: http://localhost:8080/v3/api-docs

or visit Swagger UI via: http://localhost:8080/swagger-ui/index.html

GraphQL

You can visit it via: http://localhost:8080/graphiql?path=/graphql

tRPC

The tRPC endpoint is: http://localhost:9090

Metrics

You can visit the metrics endpoint: /actuator/prometheus