This directory contains all Tara application code for the meditation platform.
Directory Structure#
web/#
Tara web application (React/Next.js).
- Progressive Web App (PWA) support
- Server-side rendering for SEO
- Responsive design for all screen sizes
mobile/#
Tara mobile application (React Native/Expo).
- iOS and Android from single codebase
- Native performance and UX
- Offline support with local storage
api/#
Tara backend API service (Node.js/Fastify).
- RESTful API endpoints
- GraphQL subscriptions for real-time features
- Authentication and authorization
- Content delivery and streaming
Getting Started#
bash
# Install dependencies
pnpm install
# Start web development server
pnpm nx serve tara-web
# Start mobile development
pnpm nx start tara-mobile
# Start API server
pnpm nx serve tara-api
Architecture#
text
apps/tara/
├── web/ # Web application
│ ├── src/
│ │ ├── app/ # Next.js App Router
│ │ ├── components/
│ │ └── ...
│ └── project.json
├── mobile/ # Mobile application
│ ├── src/
│ │ ├── screens/
│ │ ├── components/
│ │ └── ...
│ └── project.json
└── api/ # Backend API
├── src/
│ ├── routes/
│ ├── services/
│ └── ...
└── project.json
Dependencies#
Tara apps depend on:
@tara/*- Tara-specific libraries@oshun/meditation-*- Shared meditation infrastructure@oshun/*- Oshun shared libraries