Skip to content

q-unite/qunite-api

Repository files navigation

QUnite API

Checkstyle

Our code convention is fully compliant with Google Checks specifications. Read more here.

To configure this code convention in your IDE, use the Checkstyle plugin and the config file.

To run checkstyle, execute mvn clean verify -P checkstyle

Running

To run application with docker compose you need to create backend network first, we already have the docker-compose-network.yml so just run the command docker compose -f docker-compose.yml -f docker-compose-network.yml up

Testing

Application has other configuration for testing.
To use this config, mark all test classes with @ActiveProfiles("test")

To write integration tests, use @IntegrationTest (includes @ActiveProfiles("test")). There are two options:

  • mark test class with this annotation
  • make test class implement interface or extend class, marked with this annotation.

To run integration tests, follow next steps:

  1. install and run Docker on your local machine
  2. execute mvn clean verify -P integration-test

Swagger(OpenAPI 3)

After deployment, the Swagger UI page is available at http://localhost:8080/swagger-ui.html

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published