Home

Awesome

T3 stack + Supabase + App directory

This project is Edge ready (Vercel Edge runtime)

This is a starter project/boilerplate to start out with:

It allows us to call database in server components through supabase-js, for client component we are using trpc+prisma due to the superior DX

Projects using this starter

What's next? How do I make an app with this?

pnpm install

Initial Setup

If you want to develop on local supabase instance, follow the steps below:

Then go to supabase/config.toml file and change your service name.

Start the database:

If you want to develop on remote supabase instance, follow the steps below:

Connect supabase to remote instance:

Common steps

If you want to create migrations by hand, go ahead and use this command:

Then go to supabase/migrations folder and add your SQL there.

If you want to make changes with studio, use

Run these initial commands

Every time you change something on local instance:

pnpm prepare:local
pnpm prepare:remote
pnpm dev

If you are not familiar with the different technologies used in this project, please refer to the respective docs.

Authors

👤 Milosz Jankiewicz

👤 Jakub Czarnowski

Learn More

To learn more about the T3 Stack, take a look at the following resources:

You can check out the create-t3-app GitHub repository — your feedback and contributions are welcome!

How do I deploy this?

Follow deployment guides for Vercel, Netlify and Docker for more information.