Skip to content

Latest commit

 

History

History
22 lines (17 loc) · 838 Bytes

File metadata and controls

22 lines (17 loc) · 838 Bytes

Architecture

  • Website: Expo Router website with Tailwind.
  • Native app: Expo Router app with CNG.
  • Backend: Expo API routes WinterTC-compliant. Routes are in app/api/ directory. API routes use +api.ts suffix (chat+api.ts).
  • Secrets: Use .env files and API routes for secret management. Never use EXPO_PUBLIC_ prefix for sensitive data.

Code Style

  • Use TypeScript whenever possible.
  • Use kebab-case for all file names. Avoid capital letters.
  • Use @/ path aliases for imports.
  • Use root app directory.

CLI

  • Install packages: bunx expo install
  • Ensure the rules of React are enforced: bunx expo lint
  • Create native modules: bunx create-expo-module --local
  • Deploy iOS: bunx testflight
  • Deploy Android: eas build -p android -s
  • Deploy web and server: bunx expo export -p web && eas deploy