{"id":43500918,"url":"https://github.com/gurselcakar/universal-react-monorepo","last_synced_at":"2026-02-03T11:23:17.004Z","repository":{"id":313521591,"uuid":"1049804405","full_name":"gurselcakar/universal-react-monorepo","owner":"gurselcakar","description":"Universal React monorepo template — Next.js or Vite for web, Expo for mobile, shared NativeWind components","archived":false,"fork":false,"pushed_at":"2026-01-28T21:04:50.000Z","size":4170,"stargazers_count":166,"open_issues_count":3,"forks_count":19,"subscribers_count":4,"default_branch":"main","last_synced_at":"2026-01-29T11:41:43.538Z","etag":null,"topics":["expo","monorepo","nativewind","nextjs","react-native","starter","tailwindcss","tanstack-router","template","turborepo","typescript","vite"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gurselcakar.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-03T14:15:52.000Z","updated_at":"2026-01-25T18:51:07.000Z","dependencies_parsed_at":"2025-09-06T17:47:10.741Z","dependency_job_id":null,"html_url":"https://github.com/gurselcakar/universal-react-monorepo","commit_stats":null,"previous_names":["gurselcakar/universal-react-monorepo"],"tags_count":0,"template":true,"template_full_name":null,"purl":"pkg:github/gurselcakar/universal-react-monorepo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gurselcakar%2Funiversal-react-monorepo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gurselcakar%2Funiversal-react-monorepo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gurselcakar%2Funiversal-react-monorepo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gurselcakar%2Funiversal-react-monorepo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gurselcakar","download_url":"https://codeload.github.com/gurselcakar/universal-react-monorepo/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gurselcakar%2Funiversal-react-monorepo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29044110,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-03T10:09:22.136Z","status":"ssl_error","status_checked_at":"2026-02-03T10:09:16.814Z","response_time":96,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["expo","monorepo","nativewind","nextjs","react-native","starter","tailwindcss","tanstack-router","template","turborepo","typescript","vite"],"created_at":"2026-02-03T11:23:16.170Z","updated_at":"2026-02-03T11:23:16.987Z","avatar_url":"https://github.com/gurselcakar.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Universal React Monorepo\n\nWrite React components once, run them on web, iOS, and Android. A Turborepo + NativeWind template with shared UI out of the box.\n\n![Demo](./universal-react-monorepo-demo.png)\n\n\u003e **New to monorepos?** Follow the [step-by-step guide](https://www.gurselcakar.com/monorepo) that built this template.\n\n## Tech Stack\n\n**Apps:** Next.js 16 or Vite (web), Expo SDK 54 (mobile)\n**UI:** React Native + NativeWind (Tailwind for RN)\n**Build:** Turborepo, pnpm workspaces, TypeScript\n\n## Project Structure\n\n```\n├── apps/\n│   ├── mobile/     # Expo React Native app\n│   ├── web/        # Next.js web app\n│   └── web-vite/   # Vite web app (alternative)\n├── packages/\n│   └── ui/         # Shared component library\n└── turbo.json      # Turborepo config\n```\n\n### Choosing a Web Framework\n\nBoth `web` (Next.js) and `web-vite` (Vite + TanStack Router) are included. Remove the one you don't need:\n\n**Keep Next.js only:**\n```bash\nrm -rf apps/web-vite\npnpm install\n```\n\n**Keep Vite only:**\n```bash\nrm -rf apps/web\nmv apps/web-vite apps/web\n# Update \"name\" in apps/web/package.json from \"web-vite\" to \"web\"\npnpm install\n```\n\n## Getting Started\n\n**Prerequisites**: Node.js 18+, pnpm 10+, and optionally Xcode/Android Studio for mobile development.\n\n```bash\n# Clone and install\ngit clone https://github.com/gurselcakar/universal-react-monorepo.git\ncd universal-react-monorepo\npnpm install\n\n# Start all apps\npnpm dev\n\n# Or run individually\npnpm --filter web dev       # Next.js at localhost:3000\npnpm --filter web-vite dev  # Vite at localhost:5173\npnpm --filter mobile dev    # Expo Metro bundler\n```\n\n## Commands\n\n| Command | Description |\n|---------|-------------|\n| `pnpm dev` | Start all apps |\n| `pnpm build` | Build all apps |\n| `pnpm lint` | Lint all workspaces |\n| `pnpm typecheck` | TypeScript type checking |\n\n## How It Works\n\n- **Shared Components**: `packages/ui/` contains React Native components styled with NativeWind\n- **Web**: Next.js uses react-native-web to render React Native components as HTML\n- **Mobile**: Expo renders components natively on iOS/Android\n\n## Resources\n\n- [Build guide](https://www.gurselcakar.com/monorepo) — step-by-step walkthrough\n- [Turborepo docs](https://turbo.build/repo/docs)\n- [NativeWind docs](https://www.nativewind.dev/)\n- [Expo docs](https://docs.expo.dev/)\n- [Next.js docs](https://nextjs.org/docs)\n\n## Author\n\nBuilt by [Gürsel Çakar](https://x.com/gurselcakar) — also the creator of [Hukora](https://hukora.com), a logic-based puzzle game.\n\n## Licence\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgurselcakar%2Funiversal-react-monorepo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgurselcakar%2Funiversal-react-monorepo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgurselcakar%2Funiversal-react-monorepo/lists"}