Skip to content

Add Expo mobile app with multi-tenant support#97

Merged
Kikolator merged 2 commits intodevfrom
claude/scaffold-mobile-app-Ixeh8
Mar 25, 2026
Merged

Add Expo mobile app with multi-tenant support#97
Kikolator merged 2 commits intodevfrom
claude/scaffold-mobile-app-Ixeh8

Conversation

@Kikolator
Copy link
Copy Markdown
Owner

Summary

Introduces a new Expo-based React Native mobile application (apps/mobile) as a tenant-branded, multi-tenant mobile client. Also establishes a shared package (packages/shared) for logic reuse between web and mobile.

Key Changes

  • New mobile app (apps/mobile/)

    • Expo SDK 55 with Expo Router for file-based routing
    • TypeScript strict mode with matching tsconfig to web
    • NativeWind for Tailwind CSS styling in React Native
    • Supabase client integration with AsyncStorage for persistent auth
    • TanStack Query v5 for data fetching
    • React Hook Form + Zod for form validation
    • Grouped layouts: (auth)/ and (app)/ to mirror web structure
    • EAS Build/Submit configuration for iOS and Android deployment
    • Environment variables using EXPO_PUBLIC_ prefix
  • New shared package (packages/shared/)

    • Placeholder for extracting shared validation schemas, constants, and types
    • Used by both web and mobile applications
    • Strict TypeScript configuration
  • Documentation updates (CLAUDE.md)

    • Added mobile stack details (framework, styling, auth, deployment)
    • Updated project structure to include mobile and shared packages
    • Added mobile-specific commands and conventions
    • Clarified that mobile uses client-side Supabase with RLS as security boundary

Implementation Details

  • Mobile auth persists via AsyncStorage with auto-refresh enabled
  • All Supabase calls go through the client SDK directly (no server components/actions)
  • RLS policies enforce security on the database layer
  • Shared business logic will be centralized in @cowork/shared to avoid duplication
  • Mobile env vars follow Expo conventions (EXPO_PUBLIC_ prefix)
  • Babel configured with NativeWind JSX transform for Tailwind support

https://claude.ai/code/session_015AhxfccaYtwr8yymr9oes6

@vercel
Copy link
Copy Markdown

vercel bot commented Mar 21, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

2 Skipped Deployments
Project Deployment Actions Updated (UTC)
cowork-admin Ignored Ignored Preview Mar 25, 2026 0:25am
cowork-platform Ignored Ignored Preview Mar 25, 2026 0:25am

Request Review

@Kikolator Kikolator force-pushed the claude/scaffold-mobile-app-Ixeh8 branch from cfcd913 to 0255849 Compare March 21, 2026 22:05
@vercel vercel bot temporarily deployed to Preview – cowork-platform March 21, 2026 22:51 Inactive
@vercel vercel bot temporarily deployed to Preview – cowork-admin March 21, 2026 22:51 Inactive
@Kikolator Kikolator closed this Mar 21, 2026
@Kikolator Kikolator reopened this Mar 21, 2026
@vercel vercel bot temporarily deployed to Preview – cowork-admin March 21, 2026 22:56 Inactive
@vercel vercel bot temporarily deployed to Preview – cowork-platform March 21, 2026 22:56 Inactive
- Add apps/mobile/ with Expo Router, NativeWind, Supabase client,
  TanStack Query, React Hook Form + Zod
- Create route groups: (auth)/ and (app)/ with layout files
- Set up typed Supabase client with AsyncStorage auth persistence
- Add packages/shared/ (@cowork/shared) scaffold for future shared logic
- Update CLAUDE.md with mobile stack docs, commands, and conventions

https://claude.ai/code/session_015AhxfccaYtwr8yymr9oes6
@Kikolator Kikolator force-pushed the claude/scaffold-mobile-app-Ixeh8 branch 3 times, most recently from f1819db to a66c0cd Compare March 22, 2026 19:22
- Update all CI workflow jobs to use Node 24 (matches engines requirement)
- Add *.tsbuildinfo to root .gitignore
- Remove tracked tsbuildinfo (build artifact causing merge conflicts)
- Restore admin .gitignore from dev branch

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@Kikolator Kikolator force-pushed the claude/scaffold-mobile-app-Ixeh8 branch from a66c0cd to 94bcb89 Compare March 25, 2026 12:25
@Kikolator Kikolator merged commit 4bd6674 into dev Mar 25, 2026
11 checks passed
@Kikolator Kikolator deleted the claude/scaffold-mobile-app-Ixeh8 branch March 25, 2026 12:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants