Contact Us About Sponsorship

Questions about Micronaut Foundation sponsorship?

Please complete this form, and we’ll follow up with you shortly.

[hubspot type=form portal=4547412 id=a7b3ddfa-64b0-47fd-8358-45fa6a09456a]

Micronaut Blueprint v2.0.0 for JHipster Released!

by Jeremy Grelle Tags:

The Micronaut Foundation is excited to highlight version 2.0.0 of the Micronaut Blueprint for JHipster is now available!

This version of the blueprint is based on JHipster 7.9.3 and was made possible by significant contributions from the JHipster community. It generates a back-end server based on Micronaut framework 3.10.1 for either monolith or microservice style JHipster applications. The upgrade to the latest JHipster version and to a Micronaut 3.x base was a big task and we are delighted to see it come together through the power of Open Source collaboration and to have been able to play a part in helping guide it to completion.   

Getting Started

After setting up the necessary JHipster toolchain (*NOTE – The current JHipster 7.9.3 release requires NodeJS version 16.x and will not work with version 18.x) in your environment, installation of the blueprint is as simple as:

npm install -g generator-jhipster-micronaut

The installation will create a mhipster alias that links to the blueprint’s modified version of the JHipster CLI application.

Generating a fully scaffolded Single Page Application (SPA) with a Micronaut framework 3 back-end is as simple as running:

mhipster

This will start the CLI interface that will walk you through the creation of a JHipster + Micronaut application.

The JHipster Domain Language (JDL) is of course also supported, and might be the preferred path once you are already familiar with JHipster. In this case running a command such as:

mhipster jdl default-gradle.jdl

works to use the default-gradle.jdl script from the JDL Samples Repository to generate a default JHipster + Micronaut application with a Gradle build.

For a more complex setup with multiple microservices that makes use of features such as the JHipster API Gateway, you can specify the Micronaut Blueprint as a command line option with the standard JHipster generator:

jhipster --blueprints micronaut

Micronaut Framework 4 Support Coming Soon!

We are actively working with the JHipster community on producing another major version of the blueprint in the very near future that will be based on JHipster 8 (now in beta release) and that will generate a similar back-end based on the recently available Micronaut framework 4.