- Add mobile/ directory with Expo React Native project
- Create API client with JWT auth and token refresh using AsyncStorage
- Implement AuthContext for login/register/logout flow
- Add screens: Login, Register, Library, Search, Settings
- Set up React Navigation with AuthStack and MainTabs
- Create packages/shared/ with shared types and utilities
- Add shared validation utilities (email, password strength)
- Update root package.json workspaces to include mobile + shared
- Add spec document docs/backend/009-expo-integration.md
crisleo94
approved these changes 2026-05-29 04:50:46 +00:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Summary
Integrates an Expo React Native mobile application into the
cloud-readermonorepo, along with a shared types/utilities package.Changes
/mobile/— Expo React Native Apppackage.json,app.json,tsconfig.json,babel.config.jsmobile/src/api/): Axios instance with JWT auth + token refresh viaAsyncStoragemobile/src/context/AuthContext.tsx): Login, register, logout with token persistencemobile/src/navigation/): Auth stack (Login/Register) + Main tabs (Library/Search/Settings)/packages/shared/— Shared Package@cloud-reader/sharedwith domain types, API endpoint constants, validation utilsBook,Bookmark,Note,User,PaginatedResponse,TokenResponseisValidEmail(),validatePasswordStrength(),formatRelativeTime()Root Config
package.jsonworkspaces to include"mobile"and"packages/shared"Spec
docs/backend/009-expo-integration.md— full spec docRelated Issues