Clean install:
npm ciInstall:
npm install
npm run buildUpdate client schema:
npx prisma generatePrototype new db schema:
npx prisma db pushCommit / create initial tables:
npx prisma migrate devRun locally:
npm run devPrint 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-buildWarning: Preview deployments have "random" URLs that wont be listed in Google Cloud credentials.
productiondevshadow
mainfeature/x
production(branch: main)preview(branch: feature->main)dev- store dev env vars, download with:
npx vercel env pulldev(db: dev)npx prisma migrate(db: dev + shadow)
Googlefor Mainbefore-effects.vercel.appand local devlocalhost:3000.Emailfor 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.