JUG Bonn, Mai 26th 2021
Frederik Hahne
@atomfrede
atomfrede.gitlab.io
+
=
-
https://github.com/jhipster/prettier-java
😱
+
docs.openrewrite.org
// Installed node, java and git (optional)
npm install -g generator-jhipster
jhipster
application {
config {
baseName hike
applicationType monolith
authenticationType oauth2
packageName com.github.atomfrede.example.hike
prodDatabaseType postgresql
testFrameworks [cypress]
buildTool gradle
clientFramework vue
}
entities *
}
entity HikingLocation {
name String required
description String required
}
entity Hike {
name String required
date LocalDate required
description TextBlob required
photo ImageBlob required
type Difficulty required
length Integer required
}
enum Difficulty {
EASY,
MEDIUM,
HARD,
ULTRA
}
relationship OneToOne {
Hike{startLocation(name)} to HikingLocation,
Hike{destination(name)} to HikingLocation
}
paginate Hike with pagination
paginate HikingLocation with pagination
jhipster import-jdl app.jdl
docker-compose -f src/main/docker/keycloak.yml up -d
./gradlew
./gradlew -x webapp
npm start
docker-compose -f src/main/docker/postgresql.yml up -d
./gradlew -Pprod
That's Rapid Application Creation
jhipster.tech/jdl-studio
vscode extension
jhipster heroku
docker-compose -f src/main/docker/monitoring.yml up -d
docker-compose -f src/main/docker/jhipster-control-center.yml up -d
// http://localhost:7419
jhipster.tech/bug-bounties/#-bug-bounties