Skip to main content

Key Folders

  • /client: frontend application
  • /server: API routes, middleware, jobs
  • /shared: shared contracts/helpers
  • /migrations: schema migrations
  • /tests: unit/integration/e2e suites
  • /whatsapp-extension-react: WhatsApp extension
  • /linkshot-extension: LinkShot extension

High-Value Files

  • /server/index.ts: middleware and route mount order
  • /server/middleware/auth.ts: authentication enforcement
  • /server/db/schema.ts: entity and enum definitions
  • /client/src/contexts/AuthContext.tsx: frontend auth state lifecycle
  • /client/src/lib/axios.ts: auth header + 401 handling
Before editing, locate blast radius across:
  • API route file
  • schema/model definitions
  • frontend consumers
  • tests
  • docs pages