How clustr997-hash/2no works
MicroMall is a Firebase-backed marketplace for SPPU and DBATU study documents. Students browse university, year, branch, and subject catalogs, then open free material or submit UPI payment proof for paid access; approval unlocks downloads. Admins manage subjects and documents and review orders. The React application coordinates the user flows, Firebase stores marketplace data and files, and callable Functions handle approval and protected signed downloads. Some UI and callable invocation details are documented but their source was not included in the excerpts.
Main entry points: index.js Callable functions · firebase.js Firebase client · App.jsx Subject details · catalog.js Subject catalog
Components 20
Browse catalog
- React application
web/src/App.jsx - Subject catalog
web/src/data/catalog.js - Browse hierarchy
web/src/App.jsx - Subject details
web/src/App.jsx
Orders and access
- Google sign-in
web/src/App.jsx - Payment submission
web/src/App.jsx - My Access
web/src/App.jsx - Download authorization
functions/index.js
Admin management
- Admin dashboard
web/src/App.jsx - Subject management
web/src/App.jsx - Document management
web/src/App.jsx - Order review
web/src/App.jsx
Firebase platform
- Firebase client
web/src/firebase.js - Callable functions
functions/index.js - Firestore
- Firebase Storage
- Google Authentication
Other components
- Student
- Administrator
- UPI apps
Connections 30
- Student → React application: uses
- Administrator → React application: uses
- React application → Browse hierarchy: routes to
- Browse hierarchy → Subject catalog: uses catalog
- Browse hierarchy → Subject details: opens subject
- Subject details → Firestore: reads documents
- Subject details → Firestore: checks access
- React application → Google sign-in: starts sign-in
- Google sign-in → Google Authentication: authenticates with
- Payment submission → UPI apps: offers payment apps
- Payment submission → Firebase Storage: uploads proof
- Payment submission → Firestore: creates order
- My Access → Firestore: reads orders and purchases
- Admin dashboard → Subject management: manages subjects
- Admin dashboard → Document management: manages documents
- Admin dashboard → Order review: reviews orders
- Subject management → Firestore: reads and writes subjects
- Document management → Firestore: writes document records
- Document management → Firebase Storage: uploads and deletes files
- Order review → Callable functions: requests approval
- Callable functions → Firestore: approves or rejects orders
- Callable functions → Firestore: creates purchases
- Subject details → Callable functions: requests download URL
- Callable functions → Firestore: checks document and access
- Callable functions → Firebase Storage: signs private file URL
- Callable functions → Firestore: logs downloads
- Firebase client → Google Authentication: configures client
- Firebase client → Firestore: configures client
- Firebase client → Firebase Storage: configures client
- Firebase client → Callable functions: configures client