Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/stevesuv/remix-t3-stack

todolist example use remix-t3-stack: remix + vite + trpc + tailwindcss + typescript + prisma + jwt + pnpm + react-hook-form + zod + lucide-icons + docker + vercel
https://github.com/stevesuv/remix-t3-stack

docker jwt lucide-icons pnpm prisma react-hook-form remix tailwindcss trpc typescript vercel vite zod

Last synced: about 2 months ago
JSON representation

todolist example use remix-t3-stack: remix + vite + trpc + tailwindcss + typescript + prisma + jwt + pnpm + react-hook-form + zod + lucide-icons + docker + vercel

Awesome Lists containing this project

README

        

# remix-t3-stack

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 controll 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 features

# stack

- remix
- vite
- trpc
- tailwindcss
- typescript
- prisma
- jwt
- pnpm
- react-hook-form
- react-query
- next-themes
- lucide-icons
- zod
- 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 deploy
```

- deploy to vercel: follow this [guide](https://vercel.com/docs/frameworks/remix)