Forum Discussion
Deploy Angular and Spring Boot application and Custom Fabric Workload
- 1 year ago
Hi SureshG , Thank you for reaching out to the Microsoft Community Forum.
Please check the below links for your reference and share your thoughts:
Spring boot + Angular - Sample Project - Github
Extend the Microsoft Fabric frontend
If this helped solve the issue, please consider marking it “Accept as Solution” so others with similar queries may find it more easily. If not, please share the details, always happy to help.
Thank you.
Hi SureshG ,
I get what you’re trying to do. Actually, there’s not a lot of ready-made samples out there for Angular frontend with Spring Boot backend on Fabric, you’re right. But good news is, you can still deploy it by using the same logic as .NET or React templates, just gotta adapt a bit for your stack.
Here’s a rough approach:
- Package your Angular app separately, usually with ng build, and serve the static files from the Spring Boot backend (like using Spring’s static resource mapping).
- Your Spring Boot backend will be your main API, and you deploy this as a container workload in Fabric. Just make sure both frontend and backend are in the same image or deploy them as two separate ones, up to you.
- For custom workload, you’ll need to create a YAML or ARM template that defines your workload with both services. Use the .NET or React samples as a reference for the structure, but swap in your own Docker images.
I’ve done similar stuff with different combos, so if you get stuck on any config or deployment step, just ask. If you need a starting sample, I’d recommend generating a new Angular project, a separate Spring Boot app, Dockerize both, and then start from there.
If my response resolved your query, kindly mark it as the Accepted Solution to assist others. Additionally, I would be grateful for a 'Kudos' if you found my response helpful.
- SureshG1 year agoRegular Visitor
Hi,
Thank you for the suggestion. I will try it and let you know.
- SureshG1 year agoRegular Visitor
Hi,
Could you share your configuration files for reference? I did follow the .NET and React sample. I can see my custom workload in app.fabric.microsoft.com. The frontend is not opening when I click on the "playground" link to open it via "workloadClient.page.open" method.
Thanks,