Skip to content

helmutct/java-address-book

Repository files navigation

inPowered task

I developed two projects for this task, one exactly as requested (small application in Java), the second I developed in a robust architecture using Spring and tests in JUnit, just to complement the challenge. Only the first was mandatory to solve the task.

The two projects are explained below:

1) Project task-in-small-java-app (the task)

About the project

The idea of ​​this project was to meet the designed task: "develop a small java application" The source code is in a single file with pure java, all very simple.

Minimum requirements to run this project

  • Java 8 or any higher version

How to compile and run

Execute the commands below:

- cd task-in-small-java-app
- javac InPoweredTest.java
- java Main

Output you should see after run

Output you should see

2) Project task-spring-boot-rest-api (optional, just to show more)

This second project is just additional, evaluating it is optional, just to have the possibility to see the same task developed in a more robust Rest API project.

It was developed using Spring, testing (unit and integration) on JUnit, data was migrated using Flyway to a local H2 database.

Minimum requirements to run this project

  • Java 8 or any higher version
  • Maven

Run the automated tests (which are passing)

mvn test

Run the app (Or you can run in your IDE):

mvn spring-boot:run

Endpoints

To enter any endpoint you can use curl:

curl { endpoint url }

(or just copy the endpoint url in your browser)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages