Skip to content

Add mobile app to monorepo #327

@connorwaslo

Description

@connorwaslo

Overview

The mobile application currently exists as a separate project and needs to be integrated into the existing monorepo structure to improve development workflow, code sharing, and maintainability.

Motivation

Integrating the mobile app into the monorepo will provide several benefits:

  • Unified Dependency Management: Share common dependencies and ensure version consistency across web and mobile platforms
  • Code Sharing: Enable sharing of TypeScript types, utilities, and business logic between the mobile app and other packages
  • Simplified Development: Streamline the development process with a single repository for all platform implementations
  • Consistent Tooling: Use shared build tools, linting, and testing configurations across the entire codebase
  • Atomic Changes: Make cross-platform changes in a single PR, ensuring consistency across web and mobile

Proposed Structure

The mobile app should be added under the apps/ directory alongside the existing API and web applications:

apps/
├── api/
├── web/
└── mobile/  # New mobile app directory

Implementation Considerations

  • Preserve mobile app git history during migration
  • Update CI/CD pipelines to include mobile builds
  • Configure workspace dependencies for shared packages
  • Update documentation to reflect the new structure
  • Ensure mobile-specific tooling (React Native, Metro bundler) integrates smoothly with the monorepo setup

Next Steps

  1. Plan the migration strategy
  2. Set up the mobile app directory structure
  3. Configure build and development scripts
  4. Update CI/CD workflows
  5. Document the mobile development setup for contributors

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions