Giter Site home page Giter Site logo

wdinau / lazybones-dropwizard-turbo Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ailohq/lazybones-dropwizard-turbo

0.0 2.0 0.0 248 KB

Turbo charged lazybones Dropwizard 0.8.0 template, for a container-ready Microservice. Includes: Guice, Java8, Template Config, Pact, Swagger, NewRelic, sample Dockerfile and various other essential tools.

Groovy 16.88% Java 83.12%

lazybones-dropwizard-turbo's Introduction

Lazybone Dropwizard Turbo template

Download

Turbo charge your Dropwizard 0.8.0 Microservice using this lazybones template, inspired by KyleBoon's Lazybones Template for Dropwizard 0.7.0

For more instructions on lazybones( Project Creation tool) and how to build this project refer to: Lazy Bones and Template developer guide

Purpose

This template is a lot more comprehensive and is tailored towards the following usages (see Tech Stack below for more details):

  • dependency injection - use Guice auto config to avoid boilerplate code.
  • containerised deployment - Docker or Heroku containers: single port and ENV variables available during runtime only
  • continuous delivery - application version is not hardcoded but passed in at build time via gradle property: -Papp_version
  • Java8 - lambdas, Optional and LocalDate.

Usage

Install lazybones using gvm

gvm install lazybones

Update lazybones config to point to trunkplatform lazybones repository:

lazybones config set bintrayRepositories "pledbrook/lazybones-templates", "trunkplatform/lazybones"

Create new Project

Make sure you are using lazybones 0.6+

lazybones create dropwizard 0.1.1 destination

Make sure you set your IDE to Java1.8 when importing this project.

Build from source

If you wish to build from source or make contributions to this project:

gradle packageTemplateDropwizardTurbo
gradle installAllTemplates

That will create the template and install it to your local lazybones cache. After that you can use the template as you would normally.

Tech Stack

Most of the following dependencies are optional. Mix and match as you see fit.

Official Modules:

Thrid Party Modules:

Helpers:

  • Pact Gradle - consumer driven contract testing using Pact. See gradle/pact.gradle
  • NewRelic - for monitoring. See gradle/newrelic.gradle
  • Docker - Includes sample Dockerfile.
  • Dropwizard Testing - sample Resource and Integration tests provided
  • Shadow - building exectutable fatjar. See gradle/shadow.gradle
  • CORS Filter - CORS implementation using Jersey ContainerResponseFilter

lazybones-dropwizard-turbo's People

Contributors

mrserverless avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.