Kleine CRUD-Anwendung für Notizen (Titel + Freitext).
- Backend: Spring Boot (Web, Validation, Data JPA), H2 In-Memory DB
- Architektur: Layering (domain/repo/service/web), DTOs, zentraler Error-Handler
- Frontend: statisches
index.htmlmitfetch()
GET /api/notes→ ListeGET /api/notes/{id}→ DetailPOST /api/notes→ AnlegenPATCH /api/notes/{id}→ ÄndernDELETE /api/notes/{id}→ Löschen
- Java 21 installiert
- Git (zum Klonen des Repositories)
- Keine eigene Maven-Installation nötig (Maven Wrapper
./mvnwist enthalten)
Repository klonen
git clone https://github.com/fabcodesx/notes-app.git
cd notes-app
./mvnw spring-boot:run
Verbinden mit:
- JDBC URL:
jdbc:h2:mem:notesdb - User:
sa - Passwort: (leer)
./mvnw test