- Endpoint: http://localhost:8080/statistics-service/statistics
- Response Example:
{
"sum": 0.00,
"min": 0.00,
"max": 0.00,
"avg": 0.00,
"count": 0
}
- Endpoint: http://localhost:8080/statistics-service/transaction
- Request Example:
{
"timestamp": 0,
"amount": 0.00
}
- Create image with Docker
docker build -f Dockerfile -t docker-spring-boot .
- Run image on port 8080
docker run -p 8080:8080 -t docker-spring-boot