How vaishnavikanu/lost-and-found-management-system works
This is a lost-and-found reporting and matching application: users authenticate, browse or search lost/found reports, open a report, and submit a claim; users can also manage reports, favorites, profiles, and dashboard views. The graph includes backend route families named in the tree, but their internal calls were not sampled, so only wiring evidenced by the excerpts is shown. The messages router exists in the tree but is not mounted in backend/main.py.
Main entry points: main.py FastAPI application · App.jsx Routes and access · ItemDetails.jsx Item details · api.js HTTP client
Components 21
Web client
- Routes and access
frontend/src/App.jsx - Browse and filter
frontend/src/pages/BrowseItems.jsx - Item details
frontend/src/pages/ItemDetails.jsx - Report management
frontend/src/pages/ReportItem.jsx - HTTP client
frontend/src/api/api.js
Identity and profile
- Sign in and signup
frontend/src/api/authApi.js - Authentication routes
backend/routers/auth.py - Profile page
frontend/src/pages/Profile.jsx - Profile routes
backend/routers/profile.py
Item reports
- Category routes
backend/routers/categories.py - Item routes
backend/routers/items.py - Claim routes
backend/routers/claims.py
User engagement
- Favorites routes
backend/routers/favorites.py - Dashboard routes
backend/routers/dashboard.py - Notification routes
backend/routers/notifications.py - Message routes
backend/routers/messages.py
Backend service
- FastAPI application
backend/main.py - Database sessions
backend/database_session.py - Relational database
backend/database.py - Domain models
backend/models.py
Other components
- User
Connections 16
- User → Routes and access: navigates
- Routes and access → Browse and filter: routes to
- Routes and access → Item details: routes to
- Routes and access → Report management: routes to
- Item details → HTTP client: requests item and claims
- Sign in and signup → HTTP client: sends auth requests
- FastAPI application → Authentication routes: mounts
- FastAPI application → Profile routes: mounts
- FastAPI application → Category routes: mounts
- FastAPI application → Item routes: mounts
- FastAPI application → Favorites routes: mounts
- FastAPI application → Claim routes: mounts
- FastAPI application → Notification routes: mounts
- FastAPI application → Dashboard routes: mounts
- FastAPI application → Relational database: creates schema
- Database sessions → Relational database: binds sessions