{"id":17334245,"url":"https://github.com/axeldelafosse/expo-next-monorepo-example","last_synced_at":"2025-04-09T12:09:56.313Z","repository":{"id":42462279,"uuid":"393325014","full_name":"axeldelafosse/expo-next-monorepo-example","owner":"axeldelafosse","description":"Create a universal React app using Expo and Next.js in a monorepo","archived":false,"fork":false,"pushed_at":"2022-04-04T22:31:31.000Z","size":2087,"stargazers_count":286,"open_issues_count":0,"forks_count":55,"subscribers_count":13,"default_branch":"main","last_synced_at":"2025-04-02T11:04:37.278Z","etag":null,"topics":["expo","monorepo","nextjs","react","react-native","react-native-web"],"latest_commit_sha":null,"homepage":"https://expo-next-monorepo-example.vercel.app","language":"JavaScript","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/axeldelafosse.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-08-06T09:21:09.000Z","updated_at":"2025-04-01T06:31:08.000Z","dependencies_parsed_at":"2022-09-13T17:42:29.921Z","dependency_job_id":null,"html_url":"https://github.com/axeldelafosse/expo-next-monorepo-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/axeldelafosse%2Fexpo-next-monorepo-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/axeldelafosse%2Fexpo-next-monorepo-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/axeldelafosse%2Fexpo-next-monorepo-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/axeldelafosse%2Fexpo-next-monorepo-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/axeldelafosse","download_url":"https://codeload.github.com/axeldelafosse/expo-next-monorepo-example/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248036067,"owners_count":21037092,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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","nextjs","react","react-native","react-native-web"],"created_at":"2024-10-15T15:05:31.004Z","updated_at":"2025-04-09T12:09:56.285Z","avatar_url":"https://github.com/axeldelafosse.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ⚠️ This repo has moved to the Solito starter\n\nYou can now use [Solito](https://solito.dev/starter) instead:\n\n`npx create-solito-app@latest`\n\n---\n\n# Expo + Next.js Monorepo Example\n\n\u003e This repo is deprecated in favor of Solito ⚠️\n\nHere is an example showing how to create a universal React app using Expo and Next.js in a monorepo.\n\nYou'll find included:\n\n- Expo SDK 43 (with Hermes on iOS and Android)\n- Next.js 12\n- React Native for Web\n- TypeScript\n- Babel config that works for Expo and Next.js with Reanimated in a monorepo\n- Reanimated\n- React Native Bottom Sheet\n- Dripsy\n\nAnd ready-to-use (small configuration required):\n\n- Expo Application Services\n- Custom Development Client\n- Sentry\n\n## Architecture\n\n### App\n\n\u003e Code shared between iOS, Android and Web\n\n`cd packages/app`\n\n### Expo\n\n\u003e Native\n\nExpo entrypoint: `packages/expo/App.tsx`\n\n`cd packages/expo`\n\n`yarn start:expo` to start iOS and Android app with Expo\n\nDemo: https://expo.dev/@poolpoolpool/example?release-channel=production\n\nPro tip: build and launch a custom development client with `SCHEME=com.example.axel yarn run:ios -d` (replace `axel` with your first name)\n\n### Next.js\n\n\u003e Web\n\nNext.js entrypoint: `packages/next/src/pages/_app.tsx`\n\n`cd packages/next`\n\n`yarn dev` to start web app\n\nDemo: https://expo-next-monorepo-example.vercel.app\n\n## Notes\n\n### Root\n\n- Don't add any package here\n\n### App\n\n- Don't add any package here\n\n### Expo\n\n- Add all your React Native and universal packages here\n- Publish to Expo with `yarn publish:production`\n\n### Next.js\n\n- Add your web-only packages here\n- Deploy to Vercel with `yarn deploy` -- if it fails, make sure to configure your project correctly:\n  go to your project settings on Vercel and set the \"Framework Preset\" to Next.js and the \"Root Directory\" to `packages/next`\n\n## Navigation\n\nHere is an example of how to handle navigation: https://github.com/axeldelafosse/expo-next-monorepo-example/pull/1\n\n## What should I do next?\n\nHere are some ideas to get you started:\n\n- Use React Navigation\n- Style your app with Dripsy\n- Animate your app with Moti\n- Do some requests with SWR or Apollo Client\n- Build cool things with Expo Modules\n- Create a custom development client\n- Add Sentry\n- Add CI/CD with EAS via GitHub Actions\n- ...\n\n## Related monorepo example\n\nI also recommend to check out this example from Cedric: https://github.com/byCedric/eas-monorepo-example. It includes some EAS GitHub Actions and a bare workflow (ejected) example.\n\n## License\n\n[MIT](https://github.com/axeldelafosse/expo-next-monorepo-example/blob/main/LICENSE.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faxeldelafosse%2Fexpo-next-monorepo-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faxeldelafosse%2Fexpo-next-monorepo-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faxeldelafosse%2Fexpo-next-monorepo-example/lists"}