⌨️
TYPE TRPC + Yarn Monorepo + Prisma + Expo
This template project is a Yarn monorepo with full end-to-end type safety.
Powered by:
- TRPC (on Fastify)
- Zod for input validation
- Prisma as ORM
- Prisma Zod Generator to automatically generate Zod schemas with Prisma
- Expo based React Native app (with Android, iOS and Web support)
- TWRNC for easy styling
- Prettier configuration
- ESLint configuration
- Alias HQ to manage import aliases
Run the project locally
$ git clone https://github.com/matteolobello/expo-trpc-monorepo.git
$ cd expo-trpc-monorepo
$ yarn
$ yarn api:start
$ yarn app:start
Add new package
- Create a new directory in the
packages
folder - Edit the
paths
attribute intsconfig.base.json
- Edit the
importOrder
attribute in.prettierrc