How lsiphonl/greenleaf works
The GreenLeaf Club is a members-only cannabis retail portal. Its visible workflow mounts the app, gates access through login, then routes signed-in members to shopping, product, location, community, profile, FAQ, or staff-admin views. The app also restores remembered sessions and reads a member count from a database service. The tree omits the imported page, component, and service files, and the README is empty, so their internals and further relationships cannot be verified.
Main entry points: App.tsx App router · index.tsx React mount · constants.ts Catalog data · types.ts Domain types
Components 17
Application entry
- React mount
index.tsx - App router
App.tsx
Member access
- Login
- Remembered session
App.tsx
Member portal
- Navigation
- Shop
- Product details
- Store locations
- Member lounge
- FAQs
- Member profile
- Staff admin
- Chatbot
Domain data
- Database service
- Catalog data
constants.ts - Domain types
types.ts
Other components
- Visitor or member
Connections 16
- Visitor or member → React mount: opens
index.tsx - React mount → App router: renders
index.tsx - App router → Remembered session: restores and updates
App.tsx - App router → Database service: reads member count
App.tsx - App router → Login: routes to
App.tsx - Login → App router: reports login
App.tsx - App router → Navigation: renders
App.tsx - App router → Shop: routes to
App.tsx - App router → Product details: routes to
App.tsx - App router → Store locations: routes to
App.tsx - App router → Member lounge: routes to
App.tsx - App router → FAQs: routes to
App.tsx - App router → Member profile: routes to
App.tsx - App router → Staff admin: routes to
App.tsx - App router → Chatbot: renders
App.tsx - Catalog data → Domain types: types use
constants.ts