Simple AdTech web service that tracks the ads that are being delivered through their lifecycle and generates some simple statistics.
Requirements:
- Maven
- Java 8
The easiest way to build the application is to run the command:
$ mvn spring-boot:run
The application runs on port 9090
so if you go to https://localhost:9090/actuator/health
you should see {"status":"UP"}
message.
Docker image can be created with the following command:
$ docker build -t adstats .
Then you can run the application in docker container:
$ docker run -p 5000:9090 adstats