Skip to content

Lantern Documentation Index โ€‹

Welcome to the Lantern docs. This index links to the most useful references for developers and stakeholders.

๐Ÿš€ Getting Started (San Diego Pilot) โ€‹

  • Getting started & scaffold: docs/engineering/SCAFFOLD.md
  • Environment setup: docs/engineering/ENVIRONMENT_SETUP.md โญ START HERE FOR DEPLOYMENT
  • Deployment guide: docs/engineering/DEPLOYMENT.md โ€” Full Cloudflare + Firebase setup
  • Storybook deployment: docs/engineering/deployment/STORYBOOK_DEPLOYMENT.md โ€” Deploy component library to website
  • Docs deployment: docs/engineering/deployment/DOCS_DEPLOYMENT.md โ€” Deploy documentation to subdomain
  • PWA setup & testing: docs/engineering/PWA.md
  • Tech stack overview: docs/engineering/TECHSTACK.md
  • API design notes: docs/engineering/API.md
  • Light Lantern Flows: โญ UPDATED
    • Flow documentation: docs/features/LIGHT_LANTERN_FLOWS.md โ€” Both flows, shared hook, architecture
    • Refactor summary: docs/features/LIGHT_LANTERN_REFACTOR_PROPOSAL.md โ€” Implementation complete
  • Privacy & Profile System: โญ NEW
    • Privacy-first profiles: docs/features/profile/PRIVACY_FIRST_PROFILE.md โ€” No photos, no age display, encrypted data
    • Zero-knowledge encryption: docs/engineering/ZERO_KNOWLEDGE_ENCRYPTION.md โญ CRITICAL โ€” We literally cannot decrypt user data
    • Visual guide to encryption: docs/engineering/ZERO_KNOWLEDGE_VISUAL_GUIDE.md โ€” Diagrams & flowcharts
    • Security architecture: docs/engineering/SECURITY_ARCHITECTURE.md โญ NEW โ€” Complete security approach & community program
    • User security guide: docs/USER_SECURITY_GUIDE.md โญ NEW โ€” Privacy guide for end users
    • Venue age rules: docs/engineering/VENUE_AGE_RULES.md โ€” Age verification without exposing PII
  • Wave-to-Meet feature: โญ NEW
    • Quick start: docs/features/wave/WAVE_QUICK_START.md
    • Full documentation: docs/features/wave/WAVE_TO_MEET.md
    • Feature summary: docs/features/wave/FEATURE_SUMMARY.md
    • Beacon colors: docs/features/wave/BEACON_COLORS.md
    • Testing guide: docs/features/wave/WAVE_TESTING_GUIDE.md
  • Lantern Hub: โญ NEW
    • Quick start: docs/features/lantern-hub/LANTERN_HUB_QUICK_START.md
    • Full documentation: docs/features/lantern-hub/LANTERN_HUB.md
    • Implementation summary: docs/features/lantern-hub/LANTERN_HUB_SUMMARY.md
    • Global flows (light & schedule): docs/features/GLOBAL_LANTERN_FLOWS.md โญ LATEST
  • Storybook (Component Library): โญ NEW
    • Live Storybook: storybook.ourlantern.app (production) | storybook.dev.ourlantern.app (development)
    • Stakeholder guide: docs/storybook/STAKEHOLDER_GUIDE.md โญ โ€” How to view and interact with components (for non-developers)
    • Setup guide: docs/engineering/deployment/STORYBOOK_SETUP_GUIDE.md โญ โ€” Deploy to website (Cloudflare Pages)
    • Developer docs: docs/storybook/STORYBOOK.md
    • Quick start: docs/storybook/QUICK_START.md
    • Component standards: docs/storybook/COMPONENT_STANDARDS.md
  • Profile Management: โญ NEW
    • Privacy-first design: docs/features/profile/PRIVACY_FIRST_PROFILE.md
    • Onboarding flow: docs/features/profile/CREATE_NEW_PROFILE.md
  • Safety Mechanics: โญ NEW
    • Safety mechanics overview: docs/features/safety/SAFETY_MECHANICS.md โ€” Block functionality, SOS emergency system, safe spaces partnership, in-app safety education
    • Developer quick start: docs/features/safety/SAFETY_QUICK_START.md โ€” Implementation guide with priorities, code examples, testing checklists
  • Screens organization: docs/engineering/SCREENS_ORGANIZATION.md โญ NEW โ€” Screens vs. components structure
  • Theme & design tokens: docs/design/THEME.md
  • Business & pilots:
    • Business model & monetization: docs/business/BUSINESS.md
    • San Diego pilot strategy: docs/business/PILOT_STRATEGY.md โญ NEW
    • Founder context & positioning: docs/business/FOUNDER_CONTEXT.md โญ NEW
    • Economics & unit metrics: docs/economics/ECONOMICS.md โญ NEW โ€” Detailed cost breakdown, revenue models, pricing strategy, break-even analysis
    • Financial calculator: docs/economics/CALCULATOR.md โญ NEW โ€” Python, Google Sheets, and spreadsheet tools to model different scenarios
  • Governance & ownership: โญ UPDATED โ€” Complete employee-ownership framework with philosophical foundation
    • Foundational Philosophy: docs/governance/FOUNDATIONAL_PHILOSOPHY.md โญ NEW โ€” Four Pillars (housing, healthcare, education, food)
    • Governance overview: docs/governance/GOVERNANCE.md โ€” Legal structures and mission protection
    • Quick Reference: docs/governance/GOVERNANCE_QUICK_REFERENCE.md โญ โ€” One-page governance summary
    • Immutable Rights: docs/governance/IMMUTABLE_RIGHTS.md โญ โ€” 10 rights that cannot be voted away
    • Employee Rights Charter: docs/governance/EMPLOYEE_RIGHTS_CHARTER.md โ€” Constitutional rights for employee-owners
    • Shareholder-Lender Framework: docs/governance/SHAREHOLDER_LENDER_FRAMEWORK.md โญ โ€” Redefines "shareholders" as lenders with zero decision power
    • Decision-Making Authority: docs/governance/DECISION_MAKING_AUTHORITY.md โญ โ€” Only employees can make business decisions
    • Anti-Greed Safeguards: docs/governance/ANTI_GREED_SAFEGUARDS.md โญ โ€” 21 protections against mission drift and exploitation
    • Hiring Policy: docs/governance/HIRING_POLICY.md โญ NEW โ€” Max 3 interview rounds, family/friend hiring with guardrails
    • Contractor Pathway: docs/governance/CONTRACTOR_PATHWAY.md โญ โ€” Contractor vs. employee distinction and conversion
    • Legal Compliance: docs/governance/LEGAL_COMPLIANCE.md โญ โ€” Legal requirements, entity types, compliance checklist
  • Security & incident response: docs/governance/SECURITY.md, security/
  • Vulnerability disclosure: security/VULNERABILITY_DISCLOSURE.md โญ UPDATED โ€” How to report security issues
  • Contributing guidelines: docs/CONTRIBUTING.md

Testing & Quality โ€‹

  • Unit tests: Vitest + Testing Library (vitest.config.js, test.setup.js, src/__tests__/)
  • Run tests: npm test
  • Lint/format: npm run lint, npm run lint:fix, npm run format, npm run format:check
  • Coverage: npm run test:coverage
  • CI: Not yet included; see docs/CONTRIBUTING.md for expectations and add workflows when expanding functionality.

Commands โ€‹

  • Install: npm install
  • Dev: npm run dev
  • Build: npm run build
  • Preview: npm run preview
  • Storybook: npm run storybook
  • Test: npm test

If a document is missing or outdated, open an issue or PR with a proposed update.

Built with VitePress