This is simple Hello World Vert.x 3.1 project using the Gradle build system. It initializes a simple HTTP server which simply returns "Hello World!" with every request.
In this example, Vert.x is used in an embedded fashion. It uses Vert.x APIs directly in its classes rather than deploying code in verticles.
- Fork this git repository and clone the fork to a local directory (Reference)
- Download vertx from http://vertx.io/
- If you prefer using an IDE, install Intellij IDEA or another preferred IDE
- Import the cloned repository into your IDE
- Download Java development kit (JDK 8, as 9 won't work)
- Configure intelli J project defaults, project structure, to set the project SDK to java version 1.8
- Right click on the vertx at the top of the code and use the suggested help from intellij to link it to the project
- Right click the HelloWorldEmbedded class
- Click Run as...
Directly run the application using the gradle plugin with ./gradlew run
Visit http://localhost:8080 on your browser
- Make your intended changes on your locally cloned repository
- Commit the changes and push the commit to your forked repository on GitHub
- Ensure the changes on the commit pushed to your GitHub fork are right
- Create a pull request requesting to merge the commits on your fork to this repository (Reference)
- Write a concise and convincing pull request message explaining the purpose of your commits!