A template for NextJS apps featuring e2e type-safety with tRPC+zod, improved typings via ts-reset, tailwindCSS, and vitest - preconfigured with MongoDB and NextAuth using a custom adapter.
This is a highly opinionated version of a T3 Stack project bootstrapped with create-t3-app
.
It is configured to use MongoDB, JWTs for auth, and vitest + supertest for testing. It also includes extra TS goodies such as @total-typescript/ts-reset
and other overrides.
prettier.config.cjs
which inserts semi-colons, avoids arrow parenthesis, and adds trailing commas.api
from src/utils/api.ts
is now exported from src/client/sdk.ts
as sdk
.If you are not familiar with the different technologies used in this project, please refer to the respective docs.
To learn more about the T3 Stack, take a look at the following resources:
Follow the T3 deployment guides for Vercel, Netlify and Docker for more information.