https://github.com/consol/grpc-petshop-rs
Showcasing minimalistic full-stack project using gRPC with a Rust backend and a Browser frontend.
https://github.com/consol/grpc-petshop-rs
Last synced: 8 months ago
JSON representation
Showcasing minimalistic full-stack project using gRPC with a Rust backend and a Browser frontend.
- Host: GitHub
- URL: https://github.com/consol/grpc-petshop-rs
- Owner: ConSol
- Created: 2022-12-26T15:49:05.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-12-27T12:26:16.000Z (over 3 years ago)
- Last Synced: 2025-06-19T23:47:52.182Z (12 months ago)
- Language: Rust
- Size: 210 KB
- Stars: 3
- Watchers: 6
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# grpc-petshop-rs
**Showcasing minimalistic full-stack project using gRPC** with a Rust backend and a Browser frontend.
More specific:
- **Rust** using `tokio`, `tonic`
- **Browser** using `solid-js`

## Installation
- [server README](./server/README.md)
- [client README](./client/README.md)
## About the stack
Technologies in the stack are targeting:
- **fast and simple development cycle**
- client (hot-)reloading: ~1s
- website
- API contract changes
- server auto-compiling and restarting: ~3s
- implementation
- API contract changes
- **contract-first** API approach
- **resource-saving** in any way
- server
- binary ~4MB
- memory ~3MB
- high-performance native application
- client
- packaged ~90kB
- high-performance reactive framework
## Support matrix
- primarily tested on MacOS, the setup should also work for Linux
- as the setup is using a bash script it will not run on Windows natively, but maybe on WSL
| Support | Client | Server |
|----|----|----|
|Linux|yes|yes|
|MacOS|yes|yes|
|Windows|unknown|yes|