Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jakubczarnowski/t3-starter-supabase-i18n

T3 Stack starter - App Dir, Supabase, I18n
https://github.com/jakubczarnowski/t3-starter-supabase-i18n

app-router ci-cd edge i18n i18next i18next-react nextjs prisma shadcn-ui supabase t3-stack trpc umami-analytics

Last synced: 2 months ago
JSON representation

T3 Stack starter - App Dir, Supabase, I18n

Awesome Lists containing this project

README

        

# T3 stack + Supabase + App directory + I18n

This project is Edge ready (Vercel Edge runtime)

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

- TRPC
- App directory
- Prisma
- Supabase (Auth, Migrations, Multiple Environments, CI/CD, Storage)
- Tailwind / Shadcn/UI
- Configured Themes
- Edge Ready
- Umami analytics
- I18n with i18next
- Fully set up CI/CD out of the box, all you have to do is add the secrets!
- And many more little life savers!

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

- Clone this project
- Run

```
pnpm install
```

- Copy the .env.example into .env and fill out the envs

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

Link the project with your supabase instance:

- supabase link --project-ref *<*project-id*>*

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

- supabase migration new <_migration_name_>

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

#### If you want to make changes with studio, use

- pnpm db:diff <_migration_name_>

## Run these initial commands

Every time you change something on local instance:

```
pnpm prepare:local
```

- If you develop on cloud supabase run:

```
pnpm prepare:remote
```

- Run the project

```
pnpm dev
```

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

- [Next.js app router](https://nextjs.org/docs)
- [Prisma](https://prisma.io)
- [Tailwind CSS](https://tailwindcss.com)
- [tRPC](https://trpc.io)
- [Supabase](https://supabase.com/docs)
- [shadcn/ui](https://ui.shadcn.com/)

## Learn More

To learn more about the [T3 Stack](https://create.t3.gg/), take a look at the following resources:

- [Documentation](https://create.t3.gg/)
- [Learn the T3 Stack](https://create.t3.gg/en/faq#what-learning-resources-are-currently-available) — Check out these awesome tutorials

You can check out the [create-t3-app GitHub repository](https://github.com/t3-oss/create-t3-app) — your feedback and contributions are welcome!

## How do I deploy this?

Follow deployment guides for [Vercel](https://create.t3.gg/en/deployment/vercel), [Netlify](https://create.t3.gg/en/deployment/netlify) and [Docker](https://create.t3.gg/en/deployment/docker) for more information.

## Dont need Internalization?

I know, that's a rare request to have. Checkout out [this](https://github.com/Jaaneek/t3-supabase-app-router) repo for more 'lightweight' version!