Spring Boot API + React dashboard
Two repos that work together: a Spring Boot incident-tracking API and a React + TypeScript dashboard on top of it.
A small security-incident tracker built in two parts. The Spring Boot REST API stores incidents, validates input, filters and paginates, and enforces a lifecycle rule. The React dashboard reads and writes that API.
Spring Boot with an H2 database. Create, read, filter by severity and status, paginate.
Per-field error details; bad payloads, enums and page sizes return 400.
OPEN, INVESTIGATING, RESOLVED. A resolved incident cannot be reopened, enforced by the API and mirrored in the UI.
One call returns totals plus counts by status and severity, which powers the dashboard header.
React + TypeScript (Vite): triage summary bars, filterable list, report form, status changes.
15 MockMvc integration tests on the API; Vitest + Testing Library on the dashboard.
Submit an incident from the dashboard form; the API validates it field by field.
Filter by status and severity and watch the summary counts update.
Move incidents through the lifecycle; resolved ones stay locked.