This is an official Yarn v1 starter turborepo.
This turborepo uses Yarn as a package manager. It includes the following packages/apps:
convex
: a Convex appweb
: a Next.js appmobile
: an Expo React Native apputils
: a stub util library shared by bothweb
,mobile
, andconvex
applications
Each package/app is 100% TypeScript.
This turborepo has some additional tools already setup for you:
- TypeScript for static type checking
- ESLint for code linting
- Prettier for code formatting
Edit apps/convex/convex.json
to your Convex app details.
Edit apps/convex/.env.local
to CONVEX_URL=[your-convex-url]
Edit apps/web/_app.tsx
to your Convex url
Edit apps/mobile/App.tsx
to your Convex Url
//TODO: unify CONVEX_URL env var to be sharable across apps
Run cd convex-turborepo && yarn install
To develop all apps and packages, run the following command:
cd convex-turborepo
yarn run dev