- JAVA 8
- maven 3
- Run
mvn clean install
to build your application - Run
mvn package
to package your application - Check config.yml and set your values
- Start application with
java -jar target/kramp-test-service-1.0.0.jar server config.yml
- To check that your application is running enter url
http://localhost:8080
To see your applications health enter url http://localhost:8081/healthcheck
, this is a simple operation menu with links to help debug if there are any issues with the application.
The entry point to the application is in org.kramp.testservice.KrampTestServiceApplication, there you will find the resources registered and the configuration management.
I choosed Dropwizard because it simplified the building of the API using Jersey that was my first choice for REST and camed with an ops-friendly library called metrics, developed by them. Also i wanted to tested because i read a lot of recommendations for it and i just did 3 years of spring API’s so i wanted something different and promising. The process wasn't painless but the downsides that i expirienced aren't that bad.
I have more reasons but i wanted to keep this brief.