The following was discovered as part of building this project:
- The original package name 'com.roman.numeral.trojan-horse' is invalid and this project uses 'com.roman.numeral.trojanhorse' instead.
This Spring-Boot project was created to transform Numbers
to Roman Numerals
and vise-versa
. The creation of this project was based on following TDD princlple. The architecture is based on REST.
For building and running the application you need:
There are several ways to run a Spring Boot application on your local machine. One way is to execute the main
method in the com.roman.numeral.trojanhorse.Application
class from your IDE.
Alternatively you can use the Spring Boot Maven plugin like so:
mvn clean install; mvn spring-boot:run
Please be sure you have Docker installed before following instructions below:
-
CD into project directory
-
Build Docker image
docker build -t trojanhorse .
-
Run Docker image with port binding
docker run -p 9000:9000 -i -t trojanhorse
Currently the API only supports converting Numbers
to Roman Numerals
. Use following format:
- Used TDD throughout the project development
- Added
Jacoco
plugin, to verify test coverage at 100%
AddDockerfile
for application to run on any platformAddGithub Actions
CI/CDBuild and test CICheckstyle CIUse sun code conventions Ref: https://checkstyle.sourceforge.io/
Docker CIPublish only latest artifacts from main branch toDocker Repository
- Implement
RomanNumeralsToNumbersController
API - Implement
Basic Auth