Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

235
Views
Package React + Springboot application into .war file

How can I transform a React + Springboot application into a .war file

about 4 years ago · Juan Pablo Isaza
2 answers
Answer question

0

You should be able to simply package the react production build and serve it statically from a Springboot application.

Here's a quick tutorial on how this can be done fairly easily while still being able to call API routes on the same domain.

https://www.kantega.no/blogg/webapp-with-create-react-app-and-spring-boot

P.S. This tutorial is intended for a jar build but making a war instead shouldn't be much different, might be to just change the value in the config file.

about 4 years ago · Juan Pablo Isaza Report

0

I would make docker files, and split the react app and the spring boot be. Then you create a docker-compose file and do a docker-compose up on server.

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!