๐ŸŽ‰ svc-infra v1.0 is here โ€” Production-ready backend infrastructure
What's new
nfrax logonfrax

Infrastructure that just works. Ship products, not boilerplate.

Frameworks

  • svc-infra
  • ai-infra
  • fin-infra
  • robo-infra

Resources

  • Getting Started
  • What's New
  • Contributing

Community

  • GitHub

ยฉ 2026 nfrax. All rights reserved.

nfrax logonfrax
Start HereWhat's New
GitHub
svc-infra

Production backend, zero config

Production-ready FastAPI with auth, database, caching, jobs, and observability.

Zero configAuth built-inProduction-ready
v...
Get StartedAPI Reference
$pip install svc-infra
M
MyApp Dashboard
Live
Users
1,234+12%
API Calls
45.6Ktoday
Latency
23msavg
MRR
$12.4K+8%
Services
Recent Activity
User signed upjust now
Payment processed2s ago
Webhook delivered5s ago
Welcome emailrunning
Powered by svc-infra ยท 50 lines of code

What You Can Build

Production-ready patterns, copy and customize.

Full CRUD with auth in 20 lines

python
from svc_infra.api.fastapi.ease import easy_service_app
from svc_infra.api.fastapi.dual import user_router

app = easy_service_app(name="MyAPI", release="1.0.0")

router = user_router(prefix="/items", tags=["Items"])

@router.post("/")
async def create_item(data: ItemCreate, user: User):
    return await db.items.create({**data.dict(), "user_id": user.id})

@router.get("/{id}")
async def get_item(id: str, user: User):
    return await db.items.find_one({"id": id, "user_id": user.id})

app.include_router(router)

Why svc-infra?

Launch your backend today

Stop wiring auth, databases, and job queues. Get a production-ready FastAPI server with one command.

Auth that just works

OAuth, JWT, MFA, sessions, password policies โ€” all configured. Your users sign in, you ship features.

Scale without thinking

Redis caching, background jobs, rate limiting, and observability built in. Handle 10x traffic with zero code changes.

Open Source on GitHub

Ready to build?

Launch your first API in under 5 minutes.

Quick Start (5 min)API Reference

What's Included

API Framework

FastAPI scaffolding with dual routers

  • OpenAPI docs
  • Error handling
  • Middleware

Authentication

Complete auth system out of the box

  • OAuth providers
  • JWT + sessions
  • MFA support

Database

SQL and MongoDB with migrations

  • Connection pooling
  • Repository pattern
  • Alembic

Caching

Redis-powered caching layer

  • Decorator cache
  • TTL management
  • Invalidation

Job Queues

Background task processing

  • Retry logic
  • Scheduling
  • Worker pools

Webhooks

Send and receive webhooks

  • Signature verification
  • Retry delivery
  • Event logs

Observability

Metrics, logs, and tracing

  • Prometheus
  • Structured logs
  • OpenTelemetry

Billing

Stripe integration for payments

  • Subscriptions
  • Usage billing
  • Invoices

Built With

FastAPIPydanticSQLAlchemyRedisPostgreSQLPrometheus