Giter Club home page Giter Club logo

vertx-workshop's Introduction

vert.x micro-service workshop

In this workshop, you are going to develop a micro-service application called vert2go. This workshop covers:

  • how to build micro-services with vert.x
  • how you can use the event bus to bind your micro-services
  • how to consume a REST API
  • how to build an application using several persistence technologies
  • how to provide a REST API, and build proxies
  • how to deploy some micro-service to Openshift
  • how to centralize your logs
  • how to deploy a vert.x micro-service in a docker container
  • how to monitor your application

The vert2go application is a recommendation application where users can rates the place they like.

The slides are available on: http://devoxx0workshop0slides-vertxdemos.rhcloud.com/#/

Prerequisites:

  • Java 8 (JDK)
  • Git
  • Apache Maven
  • Docker (or docker-machine)
  • An IDE
  • RoboMongo (optional)

Using the provided virtual box image

We provide a virtual box image with everything you need on it.

  1. Install Oracle virtual box from https://www.virtualbox.org/wiki/Downloads. Installation details are on https://www.virtualbox.org/manual/ch02.html
  2. Retrieve the virtual box image (vertx-workshop.ova).
  3. Open virtual box and import the appliance (File -> Import Appliance)
  4. Select the vertx-workshop.ova file and click on import on the next screen
  5. Wait....
  6. Start the virtual machine by selecting it and then clic on the Start button (green arrow)

Using docker machine

Docker runs natively on Linux. Because the Docker daemon uses Linux-specific kernel features, you can’t run Docker natively in OS X or Windows. Instead, you must use docker-machine to create and attach to a virtual machine (VM). This machine is a Linux VM that hosts Docker for you on your Mac or Windows. If you are on Mac OS X or Windows, you can use docker via docker machine (https://docs.docker.com/machine/).

  1. Install docker and docker-machine from https://www.docker.com/docker-toolbox. Installation instructions are there: http://docs.docker.com/mac/step_one/
  2. Once done run docker run hello-world to verify your installation

The installation process will create a VM that has a minimal linux to run docker.

vertx-workshop's People

Contributors

cescoffier avatar janosgyerik avatar

Watchers

Xiayang Wu avatar James Cloos 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.