How diyarautela13/lostandfound works
Campus Connect is a campus lost-and-found web app. Students sign in, complete a profile, browse found items, and submit claims; finders review claims and can chat with claimants. Finders can also post items with photos and private handoff details, while profiles and messages expose related activity. The graph follows the sampled page scripts and their visible Firestore operations. The README is empty, and unsampled page wiring and access policies are not represented.
Main entry points: auth.js Authentication · firebase.js Firebase client setup · upload.js Item posting · messages.js Claim review and inbox
Components 16
Identity and profiles
- Sign-in entry
js/index.js - Authentication
js/auth.js - Profile signup
js/signup.js - Student profiles
js/profile.js - Navigation setup
js/nav.js
Found items
- Item browser
js/listing.js - Item posting
js/upload.js - Item details and claims
js/item.js
Claims and messaging
- Claim review and inbox
js/messages.js - Claimant chat
js/chat.js
Client infrastructure
- Firebase client setup
js/firebase.js - Firestore
- Firebase Authentication
- Google sign-in
- Cloudinary image hosting
Other components
- Student
Connections 30
- Student → Sign-in entry: starts sign-in
js/index.js - Sign-in entry → Authentication: requests login
js/index.js - Sign-in entry → Profile signup: routes new users
js/index.js - Authentication → Firebase client setup: uses client
js/auth.js - Authentication → Firebase Authentication: checks sessions
js/auth.js - Authentication → Firestore: checks profiles
js/auth.js - Authentication → Google sign-in: opens sign-in
js/auth.js - Profile signup → Firebase client setup: uses client
js/signup.js - Profile signup → Firestore: writes profile
js/signup.js - Student profiles → Authentication: requires login
js/profile.js - Student profiles → Firestore: reads profiles, items
js/profile.js - Item browser → Authentication: requires login
js/listing.js - Item browser → Firebase client setup: uses client
js/listing.js - Item browser → Firestore: reads items
js/listing.js - Item posting → Authentication: requires login
js/upload.js - Item posting → Firebase client setup: uses client
js/upload.js - Item posting → Cloudinary image hosting: uploads photos
js/upload.js - Item posting → Firestore: writes item data
js/upload.js - Item details and claims → Authentication: requires login
js/item.js - Item details and claims → Firebase client setup: uses client
js/item.js - Item details and claims → Firestore: reads items, writes claims
js/item.js - Claim review and inbox → Authentication: requires login
js/messages.js - Claim review and inbox → Firebase client setup: uses client
js/messages.js - Claim review and inbox → Firestore: reviews claims, lists chats
js/messages.js - Claim review and inbox → Claimant chat: opens claim chat
js/messages.js - Claimant chat → Authentication: requires login
js/chat.js - Claimant chat → Firebase client setup: uses client
js/chat.js - Claimant chat → Firestore: reads claims, stores messages
js/chat.js - Firebase client setup → Firestore: initializes client
js/firebase.js - Firebase client setup → Firebase Authentication: initializes client
js/firebase.js