The tennis kata app is a Maven project. The kata solution implemented with TDD using Java & Spring and I also build a REST API using Spring for the solution.
To be able to run the app you must have the following tools on your computer:
- Maven
- Docker
- Build and generate jar:
mvn clean package
- Generate the docker image:
docker build -t tennis-kata:latest .
- Run the app as container service:
docker-compose up -d
All the above steps can be done by executing the following command:
./bootstrap.sh
You can test the api using the following:
Open the browser and go to Open API (api documentation)
- From postman go to
File > Import
(or pressCtrl+o
) - Drag and drop the open-api-docs.json file located in
docs/api/