A monorepo containing:
- Next.js web app
- React Native app with Expo
- A tRPC-API which is inferred straight into the above.
- Prisma as a typesafe ORM
In tRPC you simply write API-functions that are automatically inferred straight into your frontend - no matter if it's React, React Native, or something else (that is TS/JS-based).
.
├── apps
│ ├── expo # Expo/RN application
│ └── next # Server-side rendered Next.js application
├── packages
│ └── api # tRPC API
└── prisma # Prisma setup