About
Jhipster Azure Spring Apps can quickly create applications that can be deployed on Azure Spring Apps with easy steps.
Documentation about Azure Spring Apps is available here
Prerequisites
The following prerequisites are required to use this application. Please ensure that you have them all installed locally.
- Azure Developer CLI
- Java 17 or later - for API backend
- Node.js with npm (16.13.1+) - for the Web frontend
🚀 How to generate a project
CLI
- Install the package with
npm i generator-jhipster-azure-spring-apps
- Create and navigate to a directory
- Generate the application with
jhipster-azure-spring-apps createtodoapp
JHipster Online
Go to Jhipster Online and generate your application.
🎉 How to deploy on Azure
- Log in to azd. Only required once per-install.
azd auth login
- Enable Azure Spring Apps feature for AZD
azd config set alpha.springapp on
- Navigate to the generated project directory and run
azd up
After the command is executed, you can see the following log signs that the deployment was successful.
[INFO] Deployment(default) is successfully updated.
[INFO] Deployment Status: Running
[INFO] Getting public url of app(simple-todo-web)...
[INFO] Application url: https://<your-azure-spring-apps-name>-simple-todo-web.azuremicroservices.io
The output Application url is the endpoint to access the todo application.
❤️ Next Steps
-
Try Azure for free, you can start with $200 Azure credit.
-
To help you get started, Azure Spring Apps have monthly FREE grants on all plans – 50 vCPU Hours and 100 memory GB Hours per plan.
-
To learn more about this project, check here.
-
At this point, you have a complete application deployed on Azure, to delete all the Azure resources created with this template:
azd down