How jowbab/final_campus-find works
CampusFind is a Flutter campus lost-and-found app with a separate Node.js authentication backend. The apparent user journey is account access followed by browsing, posting, and viewing campus items; the tree identifies these screens and stores, but their source was not sampled, so their internal calls and backend integration are not verified. The backend excerpts do show HTTP auth routes calling an authentication service, which uses JSON-backed persistence and email delivery. The README provides no additional capability detail.
Main entry points: auth_store.dart Auth store · server.js Server setup · auth-service.js Auth service · app.js HTTP auth routes
Components 22
Flutter app
- App entry
IT_LOST/lib/main.dart - Browse items
IT_LOST/lib/home_screen.dart - Post item
IT_LOST/lib/post_item_screen.dart - Item detail
IT_LOST/lib/item_detail_screen.dart - Campus item
IT_LOST/lib/campus_item.dart - Item store
IT_LOST/lib/item_store.dart
Client auth
- Sign in
IT_LOST/lib/login_screen.dart - Register
IT_LOST/lib/register_screen.dart - Verify email
IT_LOST/lib/verify_email_screen.dart - Reset password
IT_LOST/lib/password_reset_screen.dart - Auth store
IT_LOST/lib/auth_store.dart - Auth API
IT_LOST/lib/auth_api.dart - Local auth API
IT_LOST/lib/local_json_auth_api.dart - HTTP auth client
IT_LOST/lib/auth_http_client.dart
Auth backend
- HTTP auth routes
IT_LOST/backend/src/app.js - Server setup
IT_LOST/backend/src/server.js
Backend services
- Auth service
IT_LOST/backend/src/auth/auth-service.js - JSON repository
IT_LOST/backend/src/auth/json-repository.js - Auth JSON data
IT_LOST/backend/src/auth/json-repository.js - Email sender
IT_LOST/backend/src/email/email-sender.js
Other components
- Campus user
- SMTP service
Connections 24
- Campus user → App entry: uses
- Campus user → HTTP auth routes: requests auth
IT_LOST/backend/src/app.js - Server setup → JSON repository: initializes
IT_LOST/backend/src/server.js - Server setup → Auth service: constructs
IT_LOST/backend/src/server.js - Server setup → Email sender: configures
IT_LOST/backend/src/server.js - Server setup → HTTP auth routes: creates
IT_LOST/backend/src/server.js - HTTP auth routes → Auth service: routes auth
IT_LOST/backend/src/app.js - Auth service → JSON repository: reads and writes
IT_LOST/backend/src/auth/auth-service.js - Auth service → Email sender: sends codes
IT_LOST/backend/src/auth/auth-service.js - JSON repository → Auth JSON data: reads and writes
IT_LOST/backend/src/auth/json-repository.js - Email sender → SMTP service: sends mail
- App entry → Browse items: opens
- Browse items → Item store: loads items
- Post item → Item store: submits item
- Browse items → Item detail: opens item
- Item store → Campus item: uses model
- Sign in → Auth store: signs in
- Register → Auth store: registers
- Verify email → Auth store: verifies
- Reset password → Auth store: resets password
- Auth store → Auth API: delegates auth
- Auth API → Local auth API: uses local
- Auth API → HTTP auth client: uses HTTP
- HTTP auth client → HTTP auth routes: calls backend