https://github.com/ben-rogerson/server-communication-examples
A collection of examples for communicating with a backend server.
https://github.com/ben-rogerson/server-communication-examples
Last synced: 7 months ago
JSON representation
A collection of examples for communicating with a backend server.
- Host: GitHub
- URL: https://github.com/ben-rogerson/server-communication-examples
- Owner: ben-rogerson
- Created: 2023-04-06T02:35:46.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-12-19T07:05:58.000Z (10 months ago)
- Last Synced: 2025-03-01T11:22:53.459Z (7 months ago)
- Language: TypeScript
- Size: 1.47 MB
- Stars: 3
- Watchers: 3
- Forks: 1
- Open Issues: 23
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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
1. Compare different approaches for client to server communication
2. Show how TypeScript types are shared from the server to the client
3. Show how [Zod](https://github.com/colinhacks/zod) improves validation of server request data