Skip to content

Latest commit

 

History

History
49 lines (29 loc) · 1010 Bytes

README.adoc

File metadata and controls

49 lines (29 loc) · 1010 Bytes

Vert.x Insult Gateway Starter

This project is a template for insult gateway starter Vert.x project using Apache Maven.

Prerequisites

  • Apache Maven

  • JDK 8+

Getting started

Create your project with:

git clone https://github.com/rhte-reactive-labs/vertx-insult-gateway.git

Running the project

Once you have retrieved the project, you can check that everything works with:

mvn test exec:java

The command compiles the project and runs the tests, then it launches the application, so you can check by yourself. Open your browser to http://localhost:8080. You should see a Hello World message.

Anatomy of the project

The project contains:

  • a pom.xml file

  • a main verticle file (src/main/java/io/vertx/starter/MainVerticle.java)

  • an unit test (src/main/test/io/vertx/starter/MainVerticleTest.java)

Building the project

To build the project, just use:

mvn clean package

It generates a fat-jar in the target directory.