gRPC-based microservice for managing auction item catalogues with search and item creation capabilities.
cp .env.example .envEdit .env with your configuration (database credentials, etc.)
Install dependencies:
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
pip install -r requirements.txtGenerate gRPC stubs:
./generate_grpc.shRun the service:
python -m app.grpc.serverService will start on localhost:50051
docker compose upThis starts both the catalogue service and PostgreSQL database.
Service will be available on localhost:50052
- GetAllItems - Retrieve all auction items with real-time remaining time
- SearchItems - Search items by keyword in title
- CreateItem - Create new auction items with validation
- gRPC / Protocol Buffers
- SQLAlchemy (PostgreSQL)
- FastAPI for REST endpoints
- Pydantic for data validation