= Vertx.x Starter
image:https://github.com/vert-x3/vertx-starter/workflows/CI/badge.svg[Build Status,link=https://github.com/vert-x3/vertx-starter/actions?query=workflow%3ACI]
https://start.vertx.io[Vert.x Starter] is an open-source web application for creating https://vertx.io/[Vert.x] applications.
== Quickstart
Simply click on Generate Project on the web interface to download a project archive.
If you are a CLI adept, you can use any http client (curl, https://httpie.org/[httpie]) to invoke the API.
== API
== Generating a Vert.x application
NOTE: archiveFormat
can be zip
, tgz
, tar.gz
, etc. if the project generator can handle the format, it will use the appropriate compression tool.
You can provide the following query parameters to customize the project:
groupId
, artifactId
language
: java
or kotlin
buildTool
: maven
or gradle
build toolvertxVersion
: the Vert.x versionvertxDependencies
: a comma separated list of artifactIds of the vert.x modulespackageName
: code package name, derived from groupId
and artifactId
by defaultjdkVersion
: which version of the JDK to use, defaults to 11
Full example:
The HTTPie equivalent:
== Vert.x Starter metadata
The vert.x starter metadata lists all the capabilities proposed by the API. The metadata is used to build the Web UI is exposed to ease the creation of third-party clients (IDE integration, CLI, etc).
== Running your own starter
=== Building fat jar
In order to build it, you will need Java 17.
=== Running the app locally
export VERTX_STARTER_ANALYTICS_DIR=target
./mvnw clean process-resources
=== Running frontend in development mode
NOTE: The frontend development server expects the backend to listen on localhost
port 8080
.
== Releasing
NOTE: The following commands assume you have forked the project and upstream
is the vert-x3/vertx-starter
remote repository.
To release the project, proceed as follows.
First, tag the last commit in master
branch:
Close the corresponding https://github.com/vert-x3/vertx-starter/milestones[milestone] on GitHub.
Then merge the master
branch into the prod
branch:
GitHub Deploy job will automatically redeploy the starter if the prod
branch build passes.
Eventually, checkout master
again and update the version:
== License
Vert.x Starter is Open Source software released under the https://www.apache.org/licenses/LICENSE-2.0.html[Apache 2.0 license].