NikolaRusakov / code-with-quarkus

Generated by code.quarkus.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

code-with-quarkus

This project uses Quarkus, the Supersonic Subatomic Java Framework.

If you want to learn more about Quarkus, please visit its website: https://quarkus.io/ .

Running the application in dev mode

You can run your application in dev mode that enables live coding using:

./gradlew quarkusDev

NOTE: Quarkus now ships with a Dev UI, which is available in dev mode only at http://localhost:8080/q/dev/.

Packaging and running the application

The application can be packaged using:

./gradlew build

It produces the quarkus-run.jar file in the build/quarkus-app/ directory. Be aware that it’s not an über-jar as the dependencies are copied into the build/quarkus-app/lib/ directory.

The application is now runnable using java -jar build/quarkus-app/quarkus-run.jar.

If you want to build an über-jar, execute the following command:

./gradlew build -Dquarkus.package.type=uber-jar

The application, packaged as an über-jar, is now runnable using java -jar build/*-runner.jar.

Creating a native executable

You can create a native executable using:

./gradlew build -Dquarkus.package.type=native

Or, if you don't have GraalVM installed, you can run the native executable build in a container using:

./gradlew build -Dquarkus.package.type=native -Dquarkus.native.container-build=true

You can then execute your native executable with: ./build/code-with-quarkus-1.0.0-SNAPSHOT-runner

If you want to learn more about building native executables, please consult https://quarkus.io/guides/gradle-tooling.

Related Guides

  • Kogito Add-On Events Decisions (guide): Kogito Add-On for processing events on Decisions (DMN) based projects
  • Minio Client extension (guide): Integrates MinIO Java SDK for Amazon S3 Compatible Cloud Storage
  • Kogito - Decisions (DMN) (guide): Add Kogito decision (DMN) capabilities - Include Drools DMN engine
  • SmallRye JWT (guide): Secure your applications with JSON Web Token
  • SmallRye GraphQL (guide): Create GraphQL Endpoints using the code-first approach from MicroProfile GraphQL
  • Kogito Add-On Persistence FileSystem (guide): Kogito Add-On support for persistence on FileSystem
  • Dapr (guide): Dapr SDK
  • SmallRye OpenAPI (guide): Document your REST APIs with OpenAPI - comes with Swagger UI
  • Kogito - Rules (DRL) (guide): Add Kogito rules (DRL) capabilities - Include Drools engine
  • Kogito Add-On Events Predictions (guide): Kogito Add-On for processing events on Predictions (PMML) based projects
  • SmallRye Reactive Messaging - Kafka Connector (guide): Connect to Kafka with Reactive Messaging
  • SmallRye GraphQL Client (guide): Create GraphQL Clients
  • Kotlin (guide): Write your services in Kotlin
  • Kogito Add-On Jobs Service (guide): Kogito Add-On to interact with Kogito Jobs Service
  • Apache Kafka Streams (guide): Implement stream processing applications based on Apache Kafka
  • Kogito - Serverless Workflow (guide): Add Kogito Serverless Workflows (SW) capabilities - Includes the Process engine and Knative Eventing capabilities
  • Reactive Routes (guide): REST framework offering the route model to define non blocking endpoints
  • Kogito - Predictions (PMML) (guide): Add Kogito predictions (PMML) capabilities - Include Drools PMML engine
  • Kogito Serverless Workflow Tools (guide): Runtime development tools for Serverless Workflows
  • Kogito Add-On Events Rules (guide): Kogito Add-On for processing events on Rules (DRL) based projects
  • Kogito - Process (jBPM) (guide): Add Kogito Processes capabilities - Includes Process (jBPM) Engine
  • Kogito Add-On Events Process (guide): Kogito Add-On for Processes Events
  • Apache Kafka Client (guide): Connect to Apache Kafka with its native API
  • Apache Avro (guide): Provide support for the Avro data serialization system
  • Vault (guide): Store your credentials securely in HashiCorp Vault
  • Kogito Add-On Persistence Kafka (guide): Kogito Add-On support for persistence on Kafka
  • WebSockets Client (guide): Client for WebSocket communication channel
  • Logging GELF (guide): Log using the Graylog Extended Log Format and centralize your logs in ELK or EFK
  • WebSockets (guide): WebSocket communication channel support
  • OpenID Connect (guide): Verify Bearer access tokens and authenticate users with Authorization Code Flow
  • Liquibase (guide): Handle your database schema migrations with Liquibase
  • Redis Client (guide): Connect to Redis in either imperative or reactive style

Provided Code

RESTEasy Reactive

Easily start your Reactive RESTful Web Services

Related guide section...

SmallRye GraphQL

Start coding with this Hello GraphQL Query

Related guide section...

WebSockets

WebSocket communication channel starter code

Related guide section...

About

Generated by code.quarkus.io


Languages

Language:HTML 97.6%Language:Kotlin 2.4%