Skip to content

Instantly share code, notes, and snippets.

@1aishwaryasharma
Forked from EvanBacon/CLAUDE.md
Created July 22, 2025 17:23
Show Gist options
  • Select an option

  • Save 1aishwaryasharma/74c472cb14eb70c74c6fa8d7aa260c26 to your computer and use it in GitHub Desktop.

Select an option

Save 1aishwaryasharma/74c472cb14eb70c74c6fa8d7aa260c26 to your computer and use it in GitHub Desktop.

Revisions

  1. @EvanBacon EvanBacon revised this gist Jul 22, 2025. 1 changed file with 9 additions and 7 deletions.
    16 changes: 9 additions & 7 deletions CLAUDE.md
    Original file line number Diff line number Diff line change
    @@ -2,19 +2,21 @@

    - **Website:** Expo Router website with Tailwind.
    - **Native app:** Expo Router app with CNG.
    - **Backend:** Expo API routes WinterTC-compliant. Routes are located in `src/app/api/` directory. API files use `+api.ts` suffix (`chat+api.ts`).
    - **Backend:** Expo API routes WinterTC-compliant. Routes are in `src/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.
    - Use kebab-case for all file names. Avoid capital letters.
    - Use `@/` path aliases for imports.
    - Use root src directory.

    ## CLI

    - Install packages: `npx expo install`
    - Ensure the rules of React are enforced: `npx expo lint`
    - Deploy iOS: `npx testflight`
    - Deploy Android: `eas build -p android -s`
    - Deploy web and server: `npx expo export -p web && eas deploy`
    - Install packages: npx expo install
    - Ensure the rules of React are enforced: npx expo lint
    - Create native modules: npx create-expo-module --local
    - Deploy iOS: npx testflight
    - Deploy Android: eas build -p android -s
    - Deploy web and server: npx expo export -p web && eas deploy
  2. @EvanBacon EvanBacon created this gist Jul 22, 2025.
    20 changes: 20 additions & 0 deletions CLAUDE.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,20 @@
    ## Architecture

    - **Website:** Expo Router website with Tailwind.
    - **Native app:** Expo Router app with CNG.
    - **Backend:** Expo API routes WinterTC-compliant. Routes are located in `src/app/api/` directory. API files 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.
    - Use `@/` path aliases for imports.

    ## CLI

    - Install packages: `npx expo install`
    - Ensure the rules of React are enforced: `npx expo lint`
    - Deploy iOS: `npx testflight`
    - Deploy Android: `eas build -p android -s`
    - Deploy web and server: `npx expo export -p web && eas deploy`