Skip to content

One Spring Boot backend, multiple UI approaches (React, Svelte, Spring Mvc, Thymeleaf, SPA) for architectural comparison

License

Notifications You must be signed in to change notification settings

chhex/spring-boot-crud-multi-ui

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CI (frontend + backend + docker) License: MIT PRs welcome

Multi UI's & Spring Boot CRUD Backend

Revisited Baeldung Tutorial CRUD Application with intiallty with React and Spring Boot — see https://www.baeldung.com/spring-boot-react-crud

I migrated the initial tutorial to the Vite starter Template Vitamin 2.0, see spring-boot-react-crud-revisited2

The intention of this project is to show 3 different Frontend Stacks (React, Svelte and Spring MVS with Thymeleaf) using the same Spring Boot Server Backend.

Rather than showcasing a single framework, the goal is to examine how architectural decisions change when using:

  • server-side MVC (Thymeleaf)
  • client-side SPAs (e.g. Svelte, React)

while keeping the domain model, validation rules, persistence layer, and error semantics identical.

By sharing one backend across multiple UI paradigms, the differences become explicit:

  • where validation belongs
  • how errors are propagated and handled
  • how much state lives on the client vs the server
  • and how complexity, maintainability, and developer experience evolve.

The intent is not to declare a “best” approach, but to make trade-offs visible and concrete through working code and thus make change and evolution of code possible.

This is work in progress.

About

One Spring Boot backend, multiple UI approaches (React, Svelte, Spring Mvc, Thymeleaf, SPA) for architectural comparison

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages