Skip to content

jesperfj/dropwizard-heroku-base

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dropwizard Heroku Baseline

I've loved the approach of Coda Hale's DropWizard project since it was first launched and it's great to see its continued growth in the community. I haven't looked at the project in a long time and decided I wanted to create a new baseline app setup for DropWizard on Heroku. So here it is.

Structure

  • Resources are mounted on /api/* instead of root
  • Static files mounted on /* and served out of the assets directory in the root (not from the resources directory in the jar). No rebuild/restart required when asset files are updated
  • index.html is served as default on /
  • A sample resource and representation, hello-world, is included
  • Procfile takes care of configuring $PORT as port
  • jar file is always named 'app.jar' (no project name or version name) so this project can be forked and renamed in pom.xml without having to update Procfile.
  • Similarly, the YAML configuration file is generically named 'app.yml'.
  • No database config included because I suspect many apps won't actually be using a postgres database

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published