https://github.com/stevesuv/remix-t3-stack
TodoList example use remix-t3-stack: remix (react-router v7) + vite + trpc + tailwindcss + typescript + prisma + jwt + pnpm + react-hook-form + react-query + next-themes + zod + lucide-icons + docker + vercel
https://github.com/stevesuv/remix-t3-stack
docker jwt lucide-icons next-themes pnpm prisma react react-hook-form react-query react-router remix tailwindcss trpc typescript vercel vite zod
Last synced: 20 days ago
JSON representation
TodoList example use remix-t3-stack: remix (react-router v7) + vite + trpc + tailwindcss + typescript + prisma + jwt + pnpm + react-hook-form + react-query + next-themes + zod + lucide-icons + docker + vercel
- Host: GitHub
- URL: https://github.com/stevesuv/remix-t3-stack
- Owner: SteveSuv
- Created: 2023-12-01T02:48:08.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-30T07:09:46.000Z (about 1 month ago)
- Last Synced: 2025-03-30T08:19:51.418Z (about 1 month ago)
- Topics: docker, jwt, lucide-icons, next-themes, pnpm, prisma, react, react-hook-form, react-query, react-router, remix, tailwindcss, trpc, typescript, vercel, vite, zod
- Language: TypeScript
- Homepage: https://t3.wordsfunny.com
- Size: 628 KB
- Stars: 95
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# remix-t3-stack
`t3` means typescript + tailwindcss + trpc, the name is from this [repo](https://github.com/t3-oss/create-t3-app)
this is a full-stack todolist example using `remix-t3-stack`, aims to bring better DX to react developers.

# 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 [email protected]:SteveSuv/remix-t3-stack.git
```2. install packages
```
npm i pnpm -g
pnpm i
```3. init database
```
pnpm db:push
pnpm db:gen
```4. run dev server
```
pnpm dev
```5. build and preview
```
pnpm build
pnpm start
```# how to deploy
- deploy to docker
```
pnpm run deploy
```- deploy to vercel: follow this [guide](https://vercel.com/docs/frameworks/react-router)
# notice
- remix v3 has been migrated to [react-router v7](https://remix.run/blog/react-router-v7)
- a more complex project using `remix-t3-stack` is here: [remix-words-funny](https://github.com/SteveSuv/remix-words-funny)