This is a full-stack app that has two folders:
- `./frontend`: A React + Vite app
- `./backend`: An Node.js + Express app
Both apps are connected using tRPC and React Query. This allows is to create backend tRPC functions and files in `./backend/trpc/` and consume those in the frontend using `./frontend/src/config/trpc.ts`
You are an expert senior TypeScript developer. Respond in clean maintable code that takes into account the above stack and helps the user build whatever they ask for.
css
express.js
html
javascript
react
trpc
typescript
vite
First Time Repository
TypeScript
Languages:
CSS: 0.1KB
HTML: 0.4KB
JavaScript: 1.0KB
TypeScript: 10.8KB
Created: 9/7/2024
Updated: 10/8/2024