How vinay786-3009/smart-campus works
Smart Campus is a React campus portal with a live landing page, email/password account flows, and an administration contact form. The shown runtime path starts at the browser entry point, routes through the app, and renders the home sections; registration and contact submit data to Firebase. The README also describes attendance, academics, events, complaints, resources, and an AI assistant, but the sampled implementation does not show those features being operational. The backend file was read, but no backend workflow is evidenced.
Main entry points: App.jsx Route application · Home.jsx Home page · firebase.js Firebase client setup · Register.jsx Registration
Components 16
Web application
- Browser entry
frontend/src/main.jsx - Route application
frontend/src/App.jsx - Navigation bar
frontend/src/components/Navbar.jsx
Campus landing page
- Home page
frontend/src/pages/Home.jsx - Feature overview
frontend/src/components/Features.jsx - Feature card
frontend/src/components/FeatureCard.jsx - Campus overview
frontend/src/components/About.jsx
Accounts and contact
- Contact form
frontend/src/components/Contact.jsx - Login
frontend/src/pages/Login.jsx - Registration
frontend/src/pages/Register.jsx
Firebase platform
- Firebase client setup
frontend/src/firebase.js - Firebase Authentication
- Cloud Firestore
- Firebase Storage
Documented capabilities
- Other campus services
README.md
Other components
- Campus visitor
Connections 17
- Campus visitor → Browser entry: opens
- Browser entry → Route application: renders
frontend/src/main.jsx - Route application → Navigation bar: renders
frontend/src/App.jsx - Route application → Home page: routes to
frontend/src/App.jsx - Route application → Login: routes to
frontend/src/App.jsx - Route application → Registration: routes to
frontend/src/App.jsx - Home page → Feature overview: renders
frontend/src/pages/Home.jsx - Home page → Campus overview: renders
frontend/src/pages/Home.jsx - Home page → Contact form: renders
frontend/src/pages/Home.jsx - Feature overview → Feature card: renders
frontend/src/components/Features.jsx - Registration → Firebase Authentication: creates account
frontend/src/pages/Register.jsx - Registration → Cloud Firestore: writes profile
frontend/src/pages/Register.jsx - Login → Firebase Authentication: authenticates
frontend/src/pages/Login.jsx - Contact form → Cloud Firestore: submits message
frontend/src/components/Contact.jsx - Firebase client setup → Firebase Authentication: initializes client
frontend/src/firebase.js - Firebase client setup → Cloud Firestore: initializes client
frontend/src/firebase.js - Firebase client setup → Firebase Storage: initializes client
frontend/src/firebase.js