Skip to content
/ t3 Public template

your immediate tRPC & turborepo template with github oauth and email verification via resend along with a postgres orm prisma, proper tooling and pre-commit hooks via husky — ship faster with t3

Notifications You must be signed in to change notification settings

rshdhere/t3

Repository files navigation

Turborepo Bun Zod tRPC Prisma

TURBOREPO + BUN + ZOD + TRPC + PRISMA

tRPC

1. Install Dependencies

From the root of the monorepo, install all workspace dependencies :

bun install

2. Generate Prisma-Client

move to the /store package and generate the prisma-client :

bun run prisma:generate

3. Environment variables

move to the /config package and add your .env :

BACKEND_PORT=3001
JWT_SECRET=your-jwt-secret
DATABASE_URL=your-database-connection-string
RESEND_API_KEY=your-resend-api-key
CLIENT_ID_GITHUB=your-github-client-id
CLIENT_SECRET_GITHUB=your-github-client-secret

4. Manual Port's

move to the /config package and in constants.ts configure your client and server port's accordingly

5. Change address for email service

move to the /api package, Inside src/email.ts change the "from-address" and update the "bold-tag" to your address/domain from resend and your labs page or your service name accordingly

from: "your-resend-email/domain"
<b>your-name/your-email-service</b>!

About

your immediate tRPC & turborepo template with github oauth and email verification via resend along with a postgres orm prisma, proper tooling and pre-commit hooks via husky — ship faster with t3

Resources

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

No packages published