A simple Redis API service built with FastAPI. Exposes GET, SET, and SETEX operations over HTTP with API key authentication.
GET /get/{key}— Retrieve a value by keyPOST /set— Set a key-value pairPOST /setex— Set a key-value pair with TTL (seconds)
Pass your API key in the X-API-Key header on every request.
pip install -r requirements.txt
cp .env.example .env # set API_KEY and REDIS_URL
uvicorn main:app --reload