- Clone repository, go to root directory
- Run
sh run.shin root directory
sh run.sh will build the application and run it in a docker container.
- Open http://localhost:8088/ in browser
- Enter the phone number and click "Submit" button
- You will see the result. If the phone number is valid, you will see the country name. If the phone number is invalid, you will see the error message.
Example of a valid phone number:
Example of an invalid phone number:
- Clone repository, go to root directory
- Run
./gradlew clean build testin root directory - You will see the test results in the console
- If you want to see the test report, run
./gradlew clean test jacocoTestReportin root directory - You will see the test report in
build/reports/jacoco/test/html/index.html - Open
index.htmlin browser - You will see the test report
Example of a test report:




