I will build your fastapi python backend
About this gig
I write async-all-the-way-down Python. No sync DB calls, no `requests` lib, no thread-pool fallbacks. Motor for MongoDB. httpx for outbound HTTP. APScheduler for scheduled jobs (in-process no separate worker dyno needed at most scales).
What you get with this gig:
- Async FastAPI with Pydantic v2 (no Pydantic v1 legacy code)
- Motor for MongoDB OR SQLAlchemy 2.0 async for Postgres (your choice)
- httpx for outbound HTTP (never `requests`)
- Auth done right API key, JWT, or per-tenant access codes
- OpenAPI docs auto-generated and clean
- Tests for happy path + edge cases
- Deployed to Railway/Vercel/your hosting
- README another engineer can actually follow
My architectural opinions (so you know what you're getting):
- Async means async all the way down one sync DB call in an async handler stalls the event loop and tanks throughput
- Motor over PyMongo non-negotiable in async code
- Pydantic v2 over v1 start fresh, don't carry legacy
- FastAPI's `Depends` for auth/db/session not module-level globals
- APScheduler in-process for daily jobs no separate Celery dyno until you actually need it
- MongoDB indexes with TTL for self-pruning collections dedup stores, telemetry, session data
Get to know Shehryar Ahmad
AI Vibe Coder, Claude Code, OpenAI Agents, Production AI MVPs Shipped Fast
- FromPakistan
- Member sinceMar 2018
- Avg. response time1 hour
Languages
English
My Portfolio
FAQ
Why FastAPI over Django or Flask?
FastAPI is async-native (Django and Flask are sync-with-async-bolted-on), has the best auto-generated OpenAPI docs in any Python framework, and Pydantic v2 gives you typed request/response validation for free. For new APIs in 2026, FastAPI is the right default.
MongoDB or Postgres?
Both, your choice. Motor for MongoDB async. SQLAlchemy 2.0 with asyncpg for Postgres async. I default to MongoDB for fast iteration on schema-flexible products (like SaaS where each tenant might have different fields), Postgres for products with relational integrity needs (financial, multi transacti
Will my API scale?
A single Railway dyno on async FastAPI + MongoDB Atlas can handle hundreds of req/sec for typical CRUD. JawaabAI runs multi-tenant production traffic on one dyno. When you outgrow it, the path is: add dynos behind Railway's load balancer, then split the heaviest endpoints to their own service.
Tests included?
Basic tier: tests for happy path + 2 edge cases. Standard/Premium: comprehensive tests with pytest + httpx test client. I don't ship 100% coverage (waste of your money), I ship 80% on the critical paths.
Will you sign an NDA / share code privately?
Yes to both. Send the NDA before ordering, I sign within 24 hours. All work delivered via private channels (your private GitHub repo, encrypted zip, etc.).

