Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/daggerok/quarkus-reactive-vertx-web-templ-handlebars-example
Handlebars with reactive Vertx quarkus
https://github.com/daggerok/quarkus-reactive-vertx-web-templ-handlebars-example
mustache mustache-templates mustache-templating quakus-vertx quarkus vertx vertx-web
Last synced: 29 days ago
JSON representation
Handlebars with reactive Vertx quarkus
- Host: GitHub
- URL: https://github.com/daggerok/quarkus-reactive-vertx-web-templ-handlebars-example
- Owner: daggerok
- Created: 2019-11-26T07:41:38.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2019-11-26T20:11:35.000Z (about 5 years ago)
- Last Synced: 2024-11-11T15:38:29.015Z (3 months ago)
- Topics: mustache, mustache-templates, mustache-templating, quakus-vertx, quarkus, vertx, vertx-web
- Language: HTML
- Size: 61.5 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# quarkus reactive vertx [![Build Status](https://travis-ci.org/daggerok/quarkus-reactive-vertx-web-templ-handlebars-example.svg?branch=master)](https://travis-ci.org/daggerok/quarkus-reactive-vertx-web-templ-handlebars-example)
Handlebars with reactive Vertx quarkus## getting started
### local development
```bash
./mvnw quarkus:dev
http :8080
```### jar
```bash
./mvnw clean compile quarkus:build
java -jar target/*-runner.jar
http :8080
```### jvm in docker
```bash
./mvnw clean compile quarkus:build
docker build -f src/main/docker/Dockerfile.jvm -t daggerok/jvm-app .
docker run -i --rm -p 8080:8080 --name app daggerok/jvm-app
http :8080
docker rm -f -v app
```### native in docker
```bash
./mvnw package -Pnative -Dquarkus.native.container-build=true
docker build -f src/main/docker/Dockerfile.native -t daggerok/native-app .
docker run -i --rm -p 8080:8080 --name app -v "$(pwd)/src/main/resources/templates:/work/templates" daggerok/native-app
http :8080
docker rm -f -v app
```## features
* native app
* global headers
* mustache reactive vertx handlebars templating## resources
* [vertx-web-examples](https://github.com/vert-x3/vertx-examples/tree/master/web-examples)
* [vertx templates](https://vertx.io/docs/vertx-web/java/#_templates)
* [vertx web](https://vertx.io/docs/vertx-web/java/)
* https://vertx.io/docs/vertx-web/java/#_capturing_path_parameters