Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/rburgst/spring-boot-validation
- Owner: rburgst
- Created: 2022-12-27T06:30:02.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2023-09-04T18:36:36.000Z (over 1 year ago)
- Last Synced: 2024-11-08T17:53:04.472Z (about 2 months ago)
- Language: TypeScript
- Size: 205 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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