https://github.com/code4mk/python-grpc-server-boilerplate
production ready python grpc server boilerplate
https://github.com/code4mk/python-grpc-server-boilerplate
grpc-boilerplate grpc-server python-grpc-boilerplate python-grpc-server
Last synced: 8 months ago
JSON representation
production ready python grpc server boilerplate
- Host: GitHub
- URL: https://github.com/code4mk/python-grpc-server-boilerplate
- Owner: code4mk
- Created: 2025-03-21T21:59:49.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2025-03-23T16:23:06.000Z (9 months ago)
- Last Synced: 2025-03-23T17:26:39.699Z (9 months ago)
- Topics: grpc-boilerplate, grpc-server, python-grpc-boilerplate, python-grpc-server
- Language: Python
- Homepage:
- Size: 23.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Python grpc server boilerplate
This is well strcutured python grpc server boilerplate.
## Features
* good folder structure
* dockerized
* interceptors for authentication
* proto generate script (protobuf to proto generate)
* `hot reload support` ***
## Run project steps
### package install with pipenv
> [!NOTE]
> you need to ensure that you have python `3.12+` installed on your machine and `pipenv` installed
```bash
pipenv shell
pipenv install
```
### serve project
```bash
./run_project.sh
```
this will run grpc server on port 50051
* you can test api with [apidog desktop app](https://apidog.com/)
### docs
* [dockerize script docs](_docs/docker.md)
* [protobuf to proto script docs](_docs/proto-buff.md)