How chaithanyar2103/lost-and-found works
Lost-found is a small Spring Boot web app for reporting and managing lost and found items. Users can use its single-page interface or the documented REST API to create and list items, filter by status, claim items, and delete them; the app stores data in memory. Separate endpoints expose service information and health. The README documents these capabilities, but no source excerpts were provided, so relationships below reflect documented behavior only; deployment and CI tooling are excluded.
Main entry points: ItemController.java Items API · index.html Single-page UI · Item.java Item model · ItemRequest.java Item request
Components 8
User interface
- Single-page UI
src/main/resources/static/index.html
Item management
- Items API
src/main/java/com/example/lostfound/ItemController.java - In-memory items
src/main/java/com/example/lostfound/ItemController.java - Item model
src/main/java/com/example/lostfound/Item.java - Item request
src/main/java/com/example/lostfound/ItemRequest.java
Service status
- Service info
src/main/java/com/example/lostfound/InfoController.java - Health endpoint
src/main/resources/application.properties
Other components
- User
Connections 7
- User → Single-page UI: visits
README.md - User → Items API: uses endpoints
README.md - Items API → In-memory items: manages items
README.md - Items API → Item model: returns items
README.md - Items API → Item request: accepts fields
README.md - User → Service info: requests info
README.md - User → Health endpoint: checks health
README.md