Skip to content

tiborkovacs/potato-springboot-application

Repository files navigation

Potato application

What is this?

This is a Spring Boot based application, which represents a "Potato Market".

It handles suppliers and their products "a bag of potato".

Some dummy data is populated during the startup time:

  • 5 types of suppliers
  • Each supplier has 1-5 bag of potatoes on the market

How to use?

  • Clone the repository
  • Build:
    • Execute ./gradlew bootRun to compile and start the Spring Boot application
    • OR execute ./gradlew docker to build Docker image
      • Execute docker-compose up OR docker run -p 8080:8080 com.epam/potato-springboot-application to start the Docker container
  • Open http://localhost:8080/swagger-ui.html and you can start hacking

If you prefer to use Postman or any other REST tools, you can access the application via the following URLs:

Test coverage

During building the application with ./gradlew build, JaCoCo will check the test coverages.

You can check its report inside 'service' or 'web' directory under 'build/reports/jacoco/test/html/index.html'.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published