You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: integrate business routes and update documentation
- Updated README with complete project structure, endpoints, and setup
- Integrated business routes into main.py (Paddle, onboarding, analytics, calculators, dashboard)
- Routes are optional with graceful fallback if not available
-**Product Hunt**: [⭐ Support us on Product Hunt](https://www.producthunt.com/products/reliapi) - Help us reach more developers!
12
-
-**RapidAPI**: [Try ReliAPI on RapidAPI](https://rapidapi.com/kikuai-lab-kikuai-lab-default/api/reliapi) - No installation required, use directly from RapidAPI
-**Retries with Backoff** - Automatic retries with exponential backoff
@@ -24,69 +15,177 @@ Reliability layer for API calls: retries, caching, dedup, circuit breakers.
24
15
-**Rate Limiting** - Built-in rate limiting per tier
25
16
-**LLM Proxy** - Unified interface for OpenAI, Anthropic, Mistral
26
17
-**Cost Control** - Budget caps and cost estimation
18
+
-**Self-Service Onboarding** - Automated API key generation
19
+
-**Paddle Payments** - Subscription management
27
20
28
-
## Quick Start
21
+
## Project Structure
29
22
30
-
### Using RapidAPI (No Installation Required)
23
+
```
24
+
reliapi/
25
+
├── core/ # Core reliability components
26
+
│ ├── cache.py # Redis-based TTL cache
27
+
│ ├── circuit_breaker.py
28
+
│ ├── idempotency.py # Request coalescing
29
+
│ ├── retry.py # Exponential backoff
30
+
│ ├── rate_limiter.py # Per-tenant rate limits
31
+
│ ├── rate_scheduler.py # Token bucket algorithm
32
+
│ ├── key_pool.py # Multi-key management
33
+
│ └── cost_estimator.py # LLM cost calculation
34
+
├── app/
35
+
│ ├── main.py # FastAPI application
36
+
│ ├── services.py # Business logic
37
+
│ ├── schemas.py # Pydantic models
38
+
│ └── routes/ # Business routes
39
+
│ ├── paddle.py # Payment processing
40
+
│ ├── onboarding.py # Self-service signup
41
+
│ ├── analytics.py # Usage analytics
42
+
│ ├── calculators.py# ROI/pricing calculators
43
+
│ └── dashboard.py # Admin dashboard
44
+
├── adapters/
45
+
│ └── llm/ # LLM provider adapters
46
+
│ ├── openai.py
47
+
│ ├── anthropic.py
48
+
│ └── mistral.py
49
+
├── config/ # Configuration loader
50
+
├── metrics/ # Prometheus metrics
51
+
├── examples/ # Code examples
52
+
├── integrations/ # LangChain, LlamaIndex
53
+
├── openapi/ # OpenAPI specs
54
+
├── postman/ # Postman collection
55
+
└── tests/ # Test suite
56
+
```
31
57
32
-
Try ReliAPI directly on [RapidAPI](https://rapidapi.com/kikuai-lab-kikuai-lab-default/api/reliapi) - no SDK installation needed. Just subscribe to the API and start making requests!
58
+
## Quick Start
59
+
60
+
### Using RapidAPI (No Installation)
33
61
34
-
### Using the SDK
62
+
Try ReliAPI directly on [RapidAPI](https://rapidapi.com/kikuai-lab-kikuai-lab-default/api/reliapi).
0 commit comments