https://github.com/davidmc24/dropwizard-gradle-docker
Example of using gradle with docker
https://github.com/davidmc24/dropwizard-gradle-docker
Last synced: 12 months ago
JSON representation
Example of using gradle with docker
- Host: GitHub
- URL: https://github.com/davidmc24/dropwizard-gradle-docker
- Owner: davidmc24
- License: mit
- Created: 2014-11-21T21:11:58.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2014-06-10T14:23:04.000Z (about 12 years ago)
- Last Synced: 2025-05-24T19:43:27.430Z (about 1 year ago)
- Language: JavaScript
- Size: 203 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Introduction
Example dropwizard application written in groovy. Currently using groovy 2.2.1 and dropwizard 0.7.0-SNAPSHOT
# Overview
# Running The Application
To test the example application run the following commands.
* To run the tests run
`gradle test`
* To package the example run.
gradle shadowJar
* To setup the h2 database run.
gradle migrate
* To run the server run.
gradle run
* To test the server after it has been started run.
curl -H "Content-Type: application/json" -H "Accept: application/json" -X POST -d @src/test/resources/fixtures/contact.json http://localhost:8080/contacts
curl http://localhost:8080/contacts