Simple Yarn Workspace setup with Expo React Native, React.js and Apollo Server.
The package folder contains the web, app, server, and common folders. There you can find the Apollo server with TypeGraphQL and TypeORM configurated with an auth API that is in development to be used in further projects. Also, it contains app and web folders where you can find React.js and Expo React Native ready to start.
You can follow this guide in how to set up a yarn workspace: Yarn Workspaces
Create react app and express guide: Monorepo
To add expo you have to follow these steps: dev.to
If you are using Windows you will have to use Windows Linux Subsystem and Remote Development extension from Visual Studio Code extensions because the expo-yarn-workspaces package is only working on macOS and Linux.
- Clone the repo.
- Execute yarn install
- Run start-expo or start-web to start the clients.