https://github.com/stempler/vertx-books
https://github.com/stempler/vertx-books
Last synced: 6 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/stempler/vertx-books
- Owner: stempler
- License: apache-2.0
- Created: 2023-11-02T11:10:22.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2025-01-30T10:10:32.000Z (about 1 year ago)
- Last Synced: 2025-08-15T19:45:38.522Z (7 months ago)
- Language: Java
- Size: 154 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
Vert.x 4 simple Gradle project example
======================================
This project shows a very simple example project using Gradle, which has an HTTP server with a very simple API and backend.
To run the service, **Java 17** needs to be available on your machine.
Use the project in your IDE
---------------------------
To use the project in **Eclipse**, first run
```
./gradlew eclipse
```
to generate an Eclipse project that you can import into your workspace.
If you prefer to use **IntelliJ Idea** you can just open the project directly (as Gradle project).
You can run or debug the service in your IDE by running the main class (`BookService`).
When running the application is available at with a simple "Hello world" response.
The `scripts/` folder contains some example API calls w/ `curl`.
Run using Gradle
----------------
Because the application plugin is being used, you can directly run the application:
```
./gradlew run
```
Now point your browser at