Skip to content

tumbarumba/dropwizard-marionette

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dropwizard with Marionette Template Application

Kickstart new full stack web applications using this template application. It works out of the box without any changes, though it doesn't actually do anything useful until you make changes.

The application consists of a back-end server application, and a front-end single-page Javascript application.

Back-end Server Application

The back-end application consists of:

  • Dropwizard, a module that provides most things you'll need. It includes:
    • Jetty, a high-performance HTTP server.
    • Jersey, a full-featured RESTful web framework.
    • Jackson, the best JSON library for the JVM.
    • Metrics, an excellent library for application metrics.
    • Guava, Google’s excellent utility library.
    • Logback, the successor to Log4j, Java’s most widely-used logging framework.
    • Hibernate Validator, the reference implementation of the Java Bean Validation standard.
  • A small amount of code and configuration to serve up the Javascript application.

Front-end Javascript Application

The front-end application consists of:

  • Requre.js, a Javascript module loader.
  • Backbone.Marionette, a composite application library for Backbone.js that aims to simplify the construction of large scale Javascript applications.
  • Handlebars, a Javascript implementation of the Mustache templating language.
  • jQuery, a library for cross-browser DOM manipulation in Javascript.
  • Underscore.js, a functional utility library for Javascript.
  • Twitter Bootstrap, a Javascript, CSS and HTML framework for responsive web apps.

Getting Started

Build the application by running:

gradle assemble

Start the application like this:

java -jar application/build/libs/lava-application-all.jar server application/src/main/config/hello-world.yml

You can now view the running application by pointing your browser at http://localhost:8080

You can also see some other features from Dropwizard by browsing to the administration console at http://localhost:8081

Testing Framework

TODO

About

A template web application based on Dropwizard and Marionette

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages