Registry / devops / generator-jhipster-grpc

generator-jhipster-grpc

JSON →
library0.22.0jsnpmunverified

A JHipster module that adds support for gRPC and generates gRPC CRUD services for JHipster applications. Version 0.22.0 supports JHipster 6.4 and 6.5, but development appears to have stalled with no releases since 2019. It configures reactive-grpc and grpc-spring-boot-starter, compiles proto files from src/main/proto, and generates endpoints using Reactor (Flux) with back-pressure. Compared to manually adding gRPC, it integrates seamlessly into the JHipster workflow and supports entities, pagination, relationships, security (JWT, OAuth2, basic auth), ElasticSearch, and management endpoints. Limitations include requirement of a service layer for entities and no support for client-side configuration or streaming from DB.

devops
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Must be installed globally via npm install -g

npm install -g generator-jhipster-grpc

Use yo command after global install

yo jhipster-grpc

Install JHipster and the gRPC module globally, create a JHipster app, then run the module to add gRPC support and generate CRUD services.

# Install JHipster and the module globally npm install -g generator-jhipster npm install -g generator-jhipster-grpc@0.22.0 # Create a JHipster application mkdir myapp && cd myapp jhipster # Run the gRPC module to add gRPC support and generate CRUD services for entities yo jhipster-grpc # Build and run the application (example with Maven) ./mvnw spring-boot:run # The gRPC server will be available on port 6565 by default. # You can test with grpcurl or generate a client from the proto files in src/main/proto.
Debug
Known footguns
deprecatedNo release since 0.22.0 (2019); JHipster 7+ compatibility unknown.
breakingRequires JHipster 6.4 or 6.5; will not work with newer versions.
gotchaEntities must have a service layer (serviceClass or serviceImpl) for gRPC generation.
gotchaEntities referenced by another entity in a relationship (many-to-many owned side, many-to-one, one-to-one owned side) must also be gRPC activated and have a service layer.
Upgrade
Version history

Breaking-change detection hasn't run for this library yet.

Audit
Security & dependencies

CVE tracking and dependency tree are planned for a later release.

Agent activity
7 hits · last 30 days
gptbot
3
Resources