Skip to content

Numbers to Roman Numerals and Roman Numerals to Numbers project!

Notifications You must be signed in to change notification settings

jamalkhaffaf/trojan-horse

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Table of Contents

Read Me First

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.

Getting Started

Description

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.

Requirements

For building and running the application you need:

Deploy

IDE instructions:

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.

CMD instructions:

Alternatively you can use the Spring Boot Maven plugin like so:

mvn clean install; mvn spring-boot:run

Docker instructions:

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

Usage

Currently the API only supports converting Numbers to Roman Numerals. Use following format:

Test

  • Used TDD throughout the project development
  • Added Jacoco plugin, to verify test coverage at 100%

RoadMap

  • Add Dockerfile for application to run on any platform
  • Add Github Actions CI/CD
    • Build and test CI
    • Checkstyle CI
    • Docker CI
      • Publish only latest artifacts from main branch to Docker Repository
  • Implement RomanNumeralsToNumbersController API
  • Implement Basic Auth

About

Numbers to Roman Numerals and Roman Numerals to Numbers project!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published