Server Communication Examples
This is a collection of examples for communicating with a backend server. Each frontend is basic Vite React website which can create, read, update, and delete information on the server backend.
Example list
- GraphQL ✅
- tRPC ✅
- REST ✅
- WebSocket ✅
- gRPC (soon)
- MQTT (soon)
Aims
- Compare different approaches for client to server communication
- Show how TypeScript types are shared from the server to the client
- Show how Zod improves validation of server request data