Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/rburgst/spring-boot-validation

Demonstrating how to use Spring Boot REST with a react / svelte frontend with a focus on valdiation
https://github.com/rburgst/spring-boot-validation

Last synced: 2 days ago
JSON representation

Demonstrating how to use Spring Boot REST with a react / svelte frontend with a focus on valdiation

Awesome Lists containing this project

README

        

# Spring Boot validation

This project shows how to use
Spring Boot with Spring Data Rest,
Spring validation integrated with
a React/Svelte frontend to get
a proper end to end validation.

This means that also server side validation
errors are properly shown within the client
form.

## Getting started

1. run the spring boot app via `./gradlew bootRun`
2. build/run the react dev server via
```
cd client-react
pnpm install
pnpm dev
```
3. Open the browser at http://localhost:5173
4. build/run the svelte dev server via
```
cd client-svelte
pnpm install
pnpm dev
```
5. Open the browser at http://localhost:5173