-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathREADME.md
92 lines (59 loc) · 2.49 KB
/
README.md
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
# 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!