Event-driven notification dispatch for ShopFleet. Built with Python and FastAPI.
| Method | Path | Description |
|---|---|---|
| POST | /send |
Queue notification event |
| GET | / |
List notifications (filter by user_id, sent) |
| GET | /{id} |
Get notification by ID |
| GET | /health |
Service health check |
order_confirmedorder_shippedorder_deliveredpayment_succeededpayment_failedwelcome
email(default)smspush
POST /send
{
"type": "order_confirmed",
"user_id": "user-123",
"data": {
"order_id": "ord-456",
"total": "99.99"
},
"channel": "email"
}pip install -e ".[dev]"
uvicorn app.main:app --reload --port 3005Runs on port 3005 by default.
This Python service handles async notifications for the ShopFleet microservices demo.