Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gt-codes/nextjs-trpc-template
https://github.com/gt-codes/nextjs-trpc-template
Last synced: 2 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/gt-codes/nextjs-trpc-template
- Owner: gt-codes
- Created: 2022-04-30T19:05:44.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-05-01T03:14:17.000Z (over 2 years ago)
- Last Synced: 2024-12-25T04:30:10.787Z (3 days ago)
- Language: TypeScript
- Homepage: https://nexttrpc.vercel.app/
- Size: 81.1 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
This is a basic template using [TRPC](https://trpc.io/) and [Next.js](https://nextjs.org/).
## Getting Started
Run `yarn` to install the dependencies _(this project uses **yarn** but feel free to use whatever package manager you're most comfortable with)_
Run the development server with `yarn dev`
Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
You can start editing the query in `src/backend/routers/userRoute.tsx`. You can read more about TRPC's usage wiith Next.js [here](https://trpc.io/docs/nextjs#recommended-file-structure).