MCPcopy Index your code
hub / github.com/SteveSuv/remix-t3-stack

github.com/SteveSuv/remix-t3-stack @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
46 symbols 146 edges 29 files 0 documented · 0% updated 8mo ago★ 107
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

remix-t3-stack

t3 means typescript + tailwindcss + trpc, the name is from this repo

this is a full-stack todolist example using remix-t3-stack, aims to bring better DX to react developers.

image

features

  • end-to-end type safe by trpc
  • get myUserInfo anywhere by useMyUserInfo
  • type safe form with zod by useZodForm
  • no need to export action in routes, just call trpcClient.action to mutate anywhere
  • request with permission control by trpc middlewares
  • deploy to docker or vercel
  • support dark mode by useAppTheme
  • use prisma to keep type safe with db
  • toast request error automatically
  • always use latest remix (react-router v7) features

stack

  • remix (react-router v7)
  • vite
  • trpc
  • tailwindcss
  • typescript
  • prisma
  • jwt
  • pnpm
  • react-hook-form
  • react-query
  • next-themes
  • lucide-icons
  • zod
  • sqlite
  • docker
  • vercel

how to dev

  1. clone this repository
git clone git@github.com:SteveSuv/remix-t3-stack.git
  1. install packages
npm i pnpm -g
pnpm i
  1. init database
pnpm db:push
pnpm db:gen
  1. run dev server
pnpm dev
  1. build and preview
pnpm build
pnpm start

how to deploy

  • deploy to docker
pnpm run deploy
  • deploy to vercel: follow this guide

notice

Extension points exported contracts — how you extend this code

ProcessEnv (Interface)
(no doc)
env.d.ts

Core symbols most depended-on inside this repo

clsx
called by 10
app/common/clsx.ts
trpcServer
called by 4
app/common/trpc.ts
useMyUserInfo
called by 3
app/hooks/useMyUserInfo.ts
useZodForm
called by 3
app/hooks/useZodForm.ts
handleRequest
called by 2
app/routes/trpc.$trpc.tsx
useAppTheme
called by 1
app/hooks/useAppTheme.ts
handleRequest
called by 0
app/entry.server.tsx
[readyOption]
called by 0
app/entry.server.tsx

Shape

Function 45
Interface 1

Languages

TypeScript100%

Modules by API surface

app/entry.server.tsx5 symbols
app/routes/tasks.$username.tsx4 symbols
app/root.tsx4 symbols
app/routes/trpc.$trpc.tsx3 symbols
app/routes/register.tsx3 symbols
app/routes/login.tsx3 symbols
app/routes/_index.tsx3 symbols
app/routes/$.tsx2 symbols
app/hooks/useAppTheme.ts2 symbols
app/components/Header.tsx2 symbols
app/components/AddTaskForm.tsx2 symbols
env.d.ts1 symbols

For agents

$ claude mcp add remix-t3-stack \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page