Skip to content

wmalarski/trpc-expo-kitchen-sink

Repository files navigation

Learning tRPC + Expo + Next.js + Supabase = TENS Stack

🚀 Introduction

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).

📁 Folder structure

.
├── apps
│   ├── expo    # Expo/RN application
│   └── next    # Server-side rendered Next.js application
├── packages
│   └── api     # tRPC API 
└── prisma      # Prisma setup

🔗 Credits