Skip to content

Small CRUD application for notes (title + free text).

Notifications You must be signed in to change notification settings

fabcodesx/notes-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Notes App (Spring Boot 3, Java 21)

Kleine CRUD-Anwendung für Notizen (Titel + Freitext).

Stack & Architektur

  • Backend: Spring Boot (Web, Validation, Data JPA), H2 In-Memory DB
  • Architektur: Layering (domain/repo/service/web), DTOs, zentraler Error-Handler
  • Frontend: statisches index.html mit fetch()

Endpunkte (API)

  • GET /api/notes → Liste
  • GET /api/notes/{id} → Detail
  • POST /api/notes → Anlegen
  • PATCH /api/notes/{id} → Ändern
  • DELETE /api/notes/{id} → Löschen

Voraussetzungen

  • Java 21 installiert
  • Git (zum Klonen des Repositories)
  • Keine eigene Maven-Installation nötig (Maven Wrapper ./mvnw ist enthalten)

Vorbereitung

Repository klonen
git clone https://github.com/fabcodesx/notes-app.git
cd notes-app

Anwendung starten

./mvnw spring-boot:run

Verbinden mit:

  • JDBC URL: jdbc:h2:mem:notesdb
  • User: sa
  • Passwort: (leer)

Anwendung testen

./mvnw test

About

Small CRUD application for notes (title + free text).

Resources

Stars

Watchers

Forks