/grpc-python-crud

Example crud application with gRPC, FastAPI and Piccolo ORM.

Primary LanguagePythonMIT LicenseMIT

How to use:

Clone the repository in a fresh virtualenv and make todo.sqlite in root directory.

Install dependencies

pip install -r requirements.txt

Start gRPC server

$ python serve.py

Start gRPC client (FastAPI web framework)

$ uvicorn client:app

Use curl to interact with the client api on address http://localhost:8000 or simply go to http://localhost:8000/docs and use the FastAPI interactive API documentation.