Clean install:
npm ci
Install:
npm install
npm run build
Update client schema:
npx prisma generate
Prototype new db schema:
npx prisma db push
Commit / create initial tables:
npx prisma migrate dev
Run locally:
npm run dev
Print a table, with 1 optional WHERE
selection:
python .scripts/inspect-db.py <TableName> <column=value>
Use the Excel Viewer
extension to view.
Add build command from custom npm script according to Prisma docs:
npm run vercel-build
Warning: Preview deployments have "random" URLs that wont be listed in Google Cloud credentials.
production
dev
shadow
main
feature/x
production
(branch: main)preview
(branch: feature->main)dev
- store dev env vars, download with:
npx vercel env pull
dev
(db: dev)npx prisma migrate
(db: dev + shadow)
Google
for Mainbefore-effects.vercel.app
and local devlocalhost:3000
.Email
for preview.
Each feature branch will get a new url, you have to set it manually in Google console, and update the Vercel settings.
This is an app bootstrapped according to the init.tips stack, also known as the T3-Stack.
We try to keep this project as simple as possible, so you can start with the most basic configuration and then move on to more advanced configuration.
If you are not familiar with the different technologies used in this project, please refer to the respective docs. If you still are in the wind, please join our Discord and ask for help.
We also roll our own docs with some summary information and links to the respective documentation.
Also checkout these awesome tutorials on create-t3-app
.
- Build a Blog With the T3 Stack - tRPC, TypeScript, Next.js, Prisma & Zod
- Build a Live Chat Application with the T3 Stack - TypeScript, Tailwind, tRPC
- Build a full stack app with create-t3-app
- A first look at create-t3-app
Follow our deployment guides for Vercel and Docker for more information.