How pimpaleharshad99-prog/flowpeople2.0 works
Flowpeople is a public-facing site for an HR attendance product, with a lead-capture workflow and a separate admin console. Visitors browse product, pricing, and company information, then submit an inquiry; admins sign in to review and manage leads. The repository also includes dedicated GPS and biometric attendance product pages, but the supplied source shows them as informational experiences, not attendance-processing implementations. The graph follows the visible routing, lead service, API, authentication, and MongoDB boundaries; some client-to-API links are inferred from matching HTTP paths and are marked unverified.
Main entry points: App.jsx Route shell · leadService.ts Lead service · apiRouter.js API routes · mongo.js MongoDB access
Components 19
Website and product pages
- Route shell
src/App.jsx - Landing hub
src/pages/LandingHubPage.jsx - Hero visual
src/components/Lightfall.jsx - GPS attendance
src/pages/GpsAttendancePage.jsx - Biometric attendance
src/pages/BiometricAttendancePage.jsx - Features and guidance
src/pages/FeaturesPage.tsx - Pricing
src/pages/PricingPage.tsx - Company information
src/pages/AboutPage.tsx - Help and legal pages
src/pages
Lead capture and admin
- Lead service
src/services/leadService.ts - Contact inquiry
src/pages/ContactPage.tsx - Lead admin
src/pages/AdminPage.tsx - Admin auth client
src/lib/adminAuth.ts
API and authentication
- API entry
api/index.js - API routes
server/apiRouter.js - Session and passwords
server/auth.js
Persistence
- MongoDB access
server/mongo.js - MongoDB
Other components
- Visitor
Connections 20
- Visitor → Route shell: opens site
src/App.jsx - Route shell → Landing hub: routes to
src/App.jsx - Route shell → GPS attendance: routes to
src/App.jsx - Route shell → Biometric attendance: routes to
src/App.jsx - Route shell → Pricing: routes to
src/App.jsx - Route shell → Company information: routes to
src/App.jsx - Route shell → Help and legal pages: routes to
src/App.jsx - Landing hub → Hero visual: renders
src/pages/LandingHubPage.jsx - Contact inquiry → Lead service: submits inquiries
src/pages/ContactPage.tsx - Pricing → Lead service: uses for inquiries
src/pages/PricingPage.tsx - Company information → Lead service: uses for inquiries
src/pages/AboutPage.tsx - Lead admin → Lead service: manages leads
src/pages/AdminPage.tsx - Lead admin → Admin auth client: uses auth client
src/pages/AdminPage.tsx - Lead service → API routes: calls lead API
- Lead service → MongoDB access: checks health API
- API entry → API routes: delegates requests
api/index.js - API routes → Session and passwords: creates and validates sessions
server/apiRouter.js - API routes → MongoDB access: reads and updates leads
server/apiRouter.js - Session and passwords → MongoDB access: uses database
server/auth.js - MongoDB access → MongoDB: reads and writes
server/mongo.js