Skip to content

Add FastAPI NoSQL Template to the Boilerplate and Open Source Projects sections.#2931

Closed
th0truth wants to merge 1 commit intovinta:masterfrom
th0truth:restful/fastapi-nosql-template
Closed

Add FastAPI NoSQL Template to the Boilerplate and Open Source Projects sections.#2931
th0truth wants to merge 1 commit intovinta:masterfrom
th0truth:restful/fastapi-nosql-template

Conversation

@th0truth
Copy link
Copy Markdown

@th0truth th0truth commented Feb 22, 2026

FastAPI NoSQL Template is a high-performance, async-first backbone for NoSQL-native applications built with:

  • FastAPI + MongoDB + Redis
  • Hybrid API: Simultaneous support for REST and Strawberry GraphQL
  • Asymmetric JWT: RS256 token signing with auto-generated RSA keypairs
  • Ops-Ready: Prometheus metrics, structured JSON logging, and Nginx orchestration
  • Testing: 100% coverage with full MongoDB and Redis mocking

A meticulously engineered, async-native backbone designed for developers who prioritize "the metal" over ORM bloat. It provides a production-hardened foundation for NoSQL-driven applications, combining FastAPI's speed with the raw power
of MongoDB and Redis. Unlike standard boilerplates, it features an enterprise-grade security layer with RS256 asymmetric JWT signing and granular Scoped RBAC (role-based access control). The project is "ops-ready" from day one, offering a hybrid REST/GraphQL engine,
Prometheus observability, and 100% test coverage with comprehensive database mocking.

Why it's awesome: It demonstrates several advanced patterns for developers who want to avoid SQL/ORM bloat:

  • Scoped RBAC: Fine-grained permissions (Admin, Seller, Customer) out of the box

  • Redis Integration: Dynamic rate limiting via SlowAPI and optimized caching with aioredis

  • Production Architecture: Native support for versioned APIs (/v1, /v2) and intelligent URI construction for MongoDB Atlas

  • Pydantic v2: Lightning-fast data validation and serialization throughout the stack

    It serves as a professional-grade starting point for shipping NoSQL-native SaaS or internal tools without the typical "ORM tax."

MIT licensed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants