(Upute temeljene na svim izvorima spomenutim na https://www.jhipster.de)

Radim na Linuxu (trenutno Linux nb03-i7700 5.8.0-48-generic #54-Ubuntu SMP Fri Mar 19 14:25:20 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux):

jibz.org/ngNet$ curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.38.0/install.sh | bash jibz.org/ngNet$ source ~/.profile jibz.org/ngNet$ nvm install v15.14.0 Now using node v15.14.0 (npm v7.9.0) jibz.org$ npm install -g generator-jhipster jibz.org$ jhipster

Postoji mnogo mogućnosti za odabir. Ovdje predstavljam postavke projekta iza www.jibz.org:

Monolithic application application name: jibzsite no Spring Webflux (yet) Java package name: org.jibz.www JWT Authentication (stateless, with a token) Database type: SQL Production database: PostgreSQL Development database: H2 with disk-based persistence Caching system: Ehcache (local cache, for a single node) Hibernate 2nd level cache: yes! Build system: Maven JHipster registry: no no other technologies (yet) Client framework: Angular generate Admin UI: yes! Bootswatch theme: Default [I will set up Angular on my own as "alternate" framework beside the generated one] Internationalization support (i18n): yes! native language: German (sorry, but I still have to learn croatian a lot...) additional languages: Croatian, English testing frameworks: JUnit and Jest (no Cypress, Gatling, Cucumber yet) no other generators from the JHipster marketplace

Entiteti su sada definirani u JHipster-Studiju (na mreži): https://start.jhipster.tech/jdl-studio/.
Samo ću započeti i samo definirati stranicu s vezom. To mogu i na terminalu:

jhipster-jibz.org$ jhipster entity linktype

Linktype-Fields:

no (UUID) name (String) Relationships: parenttype (Linktype) many-to-many

generated with separate service interface and implementation
generated DTO with Mapstruct
no filtering
read-write entity
pagination and sorting with infinite scroll and sorting headers

jhipster-jibz.org$ jhipster entity weblink

Weblink-Fields:

no (UUID) name (String) required minlength='5' maxlength='60' linkurl (String) required unique pattern='((http|https)://)(www.)?[a-zA-Z0-9@:%.\+~#?&//=]{2,256}\.[a-z]{2,6}\b([-a-zA-Z0-9@:%.\+~#?&//=]*)' description (String) Relationships: typeoflink (Linktype) many-to-one

generated with separate service interface and implementation
generated DTO with Mapstruct
dynamic filtering for the entities with JPA Static metamodel
read-write entity
pagination and sorting with infinite scroll and sorting headers

Prvo ispitivanje:

Spring boot framework (Java Server side):

[Terminal 1] jhipster-jibz.org$ ./mvnw

Angular framework (Interactive Server-Client side, Webpack development server):

[Terminal 2] jhipster-jibz.org$ npm start

[Doprinos će se nastaviti uskoro...]