-
-
Save 1aishwaryasharma/74c472cb14eb70c74c6fa8d7aa260c26 to your computer and use it in GitHub Desktop.
Revisions
-
EvanBacon revised this gist
Jul 22, 2025 . 1 changed file with 9 additions and 7 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal 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 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. 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 - 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 -
EvanBacon created this gist
Jul 22, 2025 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal 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`