/toy-dropwizard-server

Toy server for learning CI/CD (for CI lab and CD lab, respectively)

Primary LanguageJava

A minimal Dropwizard getting started project using Gradle. Use shadowJar plugin to create fat jars.

To create a fat jar:

./gradlew shadowJar

To run your application:

java -jar build/libs/hello-friends-1.0-SNAPSHOT.jar server hello-world.yml

To build and run your application:

./gradlew runServer

This command runs both first two commands above. There will be gradle output stuck at the bottom of the output and it is normal.

Server

Server is accessible at localhost:8085. Port can be configured inside hello-world.yml.

Resources

Reference

The original project is created by cakraww and is stored at dropwizard-gradle repo. This repo contains only the adjusted version of the other one, only for learning purposes.