Skip to content

A Spring MVC project packaged and deployed as a Docker microservice. Transactions are persisted to an H2 database and retrieved via web interface.

Notifications You must be signed in to change notification settings

waleedaleem/account-repository

Repository files navigation

Account Repository

Overview

This is a Spring MVC project packaged and deployed as a Docker microservice. Transactions are persisted to an H2 database and retrieved via web interface.

Main Features / Design Decisions

UML Class Diagram

Class Diagram

Entity/Relation Diagram

Entity/Relation Diagram

Synopsis

To build (package) the docker image

$ ./mvnw clean package docker:build

To run the Docker container (Ctrl+C to remove container)

$ docker run -it --rm -p 8080:8080 --name account-list account-list

To check container status

$ docker ps
CONTAINER ID        IMAGE                              COMMAND                  CREATED             STATUS                    PORTS                                                  NAMES
fbd9c786ed5e        account-list                       "java -jar /app/acco…"   53 seconds ago      Up 51 seconds (healthy)   0.0.0.0:8080->8080/tcp                                 account-list

Test Coverage Report

JaCoCo Test Coverage Report

About

A Spring MVC project packaged and deployed as a Docker microservice. Transactions are persisted to an H2 database and retrieved via web interface.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published