https://github.com/katt/trpc-declaration
https://github.com/katt/trpc-declaration
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/katt/trpc-declaration
- Owner: KATT
- Created: 2022-09-22T19:44:18.000Z (over 3 years ago)
- Default Branch: next
- Last Pushed: 2022-10-08T21:46:06.000Z (over 3 years ago)
- Last Synced: 2024-10-04T16:41:45.662Z (over 1 year ago)
- Language: TypeScript
- Size: 57.6 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Next.js + TRPC
This example shows how you can make a typed query using a minimal implementation of TRPC following [`this as a reference`](https://trpc.io/docs/nextjs).
## Setup
```bash
npx create-next-app --example https://github.com/trpc/trpc --example-path examples/next-minimal-starter trpc-minimal-starter
cd trpc-minimal-starter
npm i
npm run dev
```
## Development
### Start project
```bash
npm run dev # starts next.js
```