r/SpringBoot • • Aug 03 '24

Deploying of a spring boot &angular app

Hi I created a spring boot & angular application with mysql as a database and i want to learn how to deploy it. Is there any videos or articles I can follow because honestly i do not have any idea where to start from

24 Upvotes

14 comments sorted by

View all comments

2

u/MartinPeterBauer Aug 03 '24

You build the angular App into backend static of Public folder. You say mvn package. Thats the build

Deploy means somehow copying the jar to a Server. You can do IT manually or with ci tools

1

u/wpfeiffe Aug 03 '24

This. I do the same with gradle. I also wrapper the npm build commands for angular app such that full build can be done from single task. I’ve seen this done in maven as well.

Then the question becomes what is the best way to deploy a spring boot app. Lots of answers to that in this subreddit.