https://github.com/ralvescosta/article-grpc-http-integration
Simple gRPC integration built in Rust
https://github.com/ralvescosta/article-grpc-http-integration
api grpc rust swagger
Last synced: 9 months ago
JSON representation
Simple gRPC integration built in Rust
- Host: GitHub
- URL: https://github.com/ralvescosta/article-grpc-http-integration
- Owner: ralvescosta
- Created: 2023-05-12T19:48:40.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-04-05T15:57:47.000Z (almost 2 years ago)
- Last Synced: 2024-04-19T19:07:01.523Z (almost 2 years ago)
- Topics: api, grpc, rust, swagger
- Language: Rust
- Homepage:
- Size: 340 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Rust gRPC and HTTP Integration
[Medium - Rust gRPC and HTTP Integration](https://ralvescosta.medium.com/grpc-and-http-integration-in-rust-3f18c2f9d94f)
## HTTP Server - OpenAPI Doc
## How Can I possibly run this project?
- First of all you need to configure your rust environment with rustup, rustc and cargo.
- Second of all you need to configure and allow makefile scripts in your environment.
- Make sure you have the ports 50051 (gRPC) and 8761 (HTTP) free to use.
- To run the **gRPC Server** execute this command bellow:
```bash
make grpc
```
- To run the **HTTP Server** execute hits command bellow:
```bash
make http-server
```
- You can access the **OpenAPI documentation** in your browser: http://localhost:8761/docs/