r/SpringBoot • u/Financial_Mark1663 • Oct 01 '24
Which frontend to use for SpringBoot?
I recently learned backend in SpringBoot and have very little knowledge of the front end, only HTML, CSS, and Javascript(Beginner).
Please let me know which technology I should use for the frontend. What are the frontend technologies used by the industry where they have a backend in SpringBoot?
26
Upvotes
17
u/mnbkp Oct 01 '24
The most common approach by far is to simply use SpringBoot to build a rest API and then build a separate React or Angular app that consumes this API.
If you want a more fullstack approach, you can use Hilla to handle the integration between React and SpringBoot for you.
Another approach would be to use a regular template engine (thymeleaf, pebble, freemarker, etc...) combined with Alpine.js and HTMX. This approach is extremely less common but can be much easier if you're not familiar with React/Angular.