Must have Node and Yarn(v1.22.19) installed to setup locally
yarnyarn run devyarn run buildThis monorepo consists of the two workspaces apps & packages
universal-app-starter
└── apps
├── native
└── web
└── packages
├── ui
└── appapps/native: a react-native app built with expoapps/web: a Next.js app built with react-native-webpackages/ui: a shared package that contains shared UI components betweenwebandnativeapplicationspackages/app: a shared package that contains shared logic betweenwebandnativeapplications
- Expo for native development
- Next.js for web development
- React Native for native development
- React Native Web for web development
- NativeWind styling solution for native
- TypeScript for static type checking
- Prettier for code formatting
- Turborepo build system for managing monorepo
Interested in setting up a similar project from scratch? Check out the article here