awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com

FastAPI project boilerplate

Ranking updated Jun 30, 2026

For a production ready FastAPI project template, the first results are timothycrosley/hug (Hug is a standalone Python web framework for building APIs, not a starter template or scaffold for FastAPI applications — while it shares the broader API-building space, it does not provide the pre-configured FastAPI project structure you are looking for), theskumar/python-dotenv (This library manages environment variables, a common component in FastAPI projects, but it is not a starter template or scaffold with pre-configured backend features) and bkeepers/dotenv (dotenv is a Ruby library for loading environment variables from files, not a FastAPI starter template; it covers only environment configuration, not the full scaffold with database, auth, testing, and Docker you're looking for). litestar-org/litestar and tiangolo/fastapi round out the shortlist. Compare the match explanations and check the project documentation against your requirements.

We curate open-source GitHub repositories matching “fastapi boilerplate”. Results are ranked by relevance to your query — pick filters below to narrow, or refine with AI.

FastAPI project boilerplate

Find the best repos with AI.We'll search the best matching repositories with AI.
  • timothycrosley/hugtimothycrosley avatar

    timothycrosley/hug

    6,883View on GitHub↗

    Hug is a type-driven Python web framework designed for building APIs. It uses Python type annotations to automatically validate and convert incoming request data and to format outgoing responses. The framework functions as an automated documentation tool by extracting function signatures and markers from source code to generate accessible API specifications. It also supports non-blocking coroutines for asynchronous API processing to handle background tasks without interrupting the main request cycle. The project provides capabilities for REST API development, including route mapping, endpoin

    Hug is a standalone Python web framework for building APIs, not a starter template or scaffold for FastAPI applications — while it shares the broader API-building space, it does not provide the pre-configured FastAPI project structure you are looking for.

    PythonAPI Documentation GeneratorsAsynchronous API RoutingAsynchronous Request Processing
    View on GitHub↗6,883
  • theskumar/python-dotenvtheskumar avatar

    theskumar/python-dotenv

    8,794View on GitHub↗

    python-dotenv is a library and command line interface for managing environment variables in Python applications. It functions as a configuration parser and loader that reads key-value pairs from files and injects them into the system environment, enabling the decoupling of application configuration from source code. The project provides a command line interface for manipulating and editing environment variables within configuration files. It also includes a mechanism for recursive variable interpolation, allowing dynamic placeholders within configuration files to be resolved using existing en

    This library manages environment variables, a common component in FastAPI projects, but it is not a starter template or scaffold with pre-configured backend features.

    PythonEnvironment VariablesEnvironment Variable Loaders
    View on GitHub↗8,794
  • bkeepers/dotenvbkeepers avatar

    bkeepers/dotenv

    6,758View on GitHub↗

    Dotenv is a Ruby library used for loading key-value pairs from files into an application environment. It includes a configuration parser to extract variables into hashes and a loader to inject those pairs into the global environment. The project features a variable interpolator that resolves environment variables and shell command outputs within configuration values. It also provides a validator to verify that required configuration keys are present during application initialization. The toolset covers environment variable management, including the ability to generate configuration templates

    dotenv is a Ruby library for loading environment variables from files, not a FastAPI starter template; it covers only environment configuration, not the full scaffold with database, auth, testing, and Docker you're looking for.

    RubyEnvironment VariablesEnvironment Variable Loaders
    View on GitHub↗6,758
  • litestar-org/litestarlitestar-org avatar

    litestar-org/litestar

    8,302View on GitHub↗

    Litestar is a high-performance Python ASGI web framework designed for building asynchronous APIs and web services. It functions as a type-safe toolkit that leverages Python type hints to provide automatic request validation and response serialization, while natively generating interactive API documentation based on the OpenAPI specification. The framework is distinguished by its integrated dependency injection system, which manages shared resources and resolves complex nested service chains directly within request handlers. It further organizes API development through class-based controllers

    Litestar is a full-featured Python ASGI web framework similar to FastAPI, not a starter template or scaffold for building FastAPI applications.

    PythonAsynchronous API RoutingAutomated API Documentation
    View on GitHub↗8,302
  • tiangolo/fastapitiangolo avatar

    tiangolo/fastapi

    99,301View on GitHub↗

    FastAPI is a high-performance Python web framework designed for building REST APIs. It operates as an ASGI web framework, providing a system to create structured HTTP endpoints that automatically serialize data and validate request parameters. The framework utilizes Python type hints to drive data validation and serialization, automatically generating machine-readable OpenAPI and JSON Schema specifications. This process enables the automatic creation of interactive, browser-based API documentation where endpoints can be tested directly. The project includes a dependency injection system for

    FastAPI is the framework itself, not a pre-configured starter template or scaffold; while it provides the foundation for building APIs, a starter template would include integrated configurations for database, auth, Docker, and migrations that this repository does not include.

    PythonAPI Schema Generation
    View on GitHub↗99,301
  • bitly/oauth2_proxybitly avatar

    bitly/oauth2_proxy

    5,087View on GitHub↗

    oauth2_proxy is an OAuth2 reverse proxy and authentication gateway that protects upstream services by requiring users to authenticate through external identity providers. It acts as a secure login layer for backend applications that lack built-in user authentication. The project provides centralized access control by restricting entry based on email domains, organization membership, or approved user lists. It integrates with identity providers via issuer URLs and client secrets, and supports additional authentication methods such as htpasswd files. The gateway manages secure identity forward

    This is an OAuth2 reverse proxy and authentication gateway, not a FastAPI starter template or scaffold; it's a specific authentication component you might integrate into a FastAPI app, not a pre-built project structure.

    GoOAuth2 Implementations
    View on GitHub↗5,087
  • ory/kratosory avatar

    ory/kratos

    13,455View on GitHub↗

    Kratos is a centralized identity and access management server designed to handle user registration, authentication, and profile management. It functions as an identity flow orchestrator, managing the state and security of authentication processes across web, mobile, and command-line interfaces. The system provides a standards-compliant authorization server that issues tokens and manages delegated access for third-party applications and internal services, supporting multi-factor authentication and custom identity schemas to secure user accounts. The project distinguishes itself through a headl

    Kratos is an identity and access management server written in Go, not a FastAPI starter template; it can be integrated as an external auth service but does not provide the project scaffold, database setup, or testing configuration you need for building FastAPI applications.

    GoOAuth2 Implementations
    View on GitHub↗13,455
  • pyeve/evepyeve avatar

    pyeve/eve

    6,738View on GitHub↗

    Eve is a REST API framework that maps database collections to web resources through declarative configuration files. It functions as a database-to-API mapper, automatically exposing data as RESTful endpoints with built-in support for CRUD operations and schema-based request validation. The project distinguishes itself through a HATEOAS API engine that generates hypermedia links and resource schemas for dynamic client discovery. It also includes an automated Swagger documentation generator that produces interactive specifications for client SDK generation and testing. The framework provides a

    Eve is a full REST API framework built on Flask, not a starter template or scaffold for FastAPI — it provides similar features (ORM mapping, API docs) but uses a different foundation and is not a FastAPI project scaffold.

    PythonJWT AuthenticationsAutomated API Documentation
    View on GitHub↗6,738
  • kludex/starletteKludex avatar

    Kludex/starlette

    12,397View on GitHub↗

    Starlette is a lightweight ASGI web framework and asynchronous HTTP toolkit used to build high-performance HTTP and WebSocket services. It functions as a WebSocket server framework and a collection of ASGI middleware components for managing network requests through non-blocking asynchronous logic. The framework provides tools for real-time communication via persistent bidirectional channels and infrastructure for high-performance APIs. It includes specialized capabilities for response compression, incremental data streaming, and the execution of non-blocking background tasks after a response

    Starlette is the ASGI framework FastAPI is built on, not a ready-to-use starter template — it provides the low-level web server infrastructure you would embed in a FastAPI project, not the pre-configured scaffolding with ORM, auth, or Docker setup this search needs.

    PythonAsynchronous API Routing
    View on GitHub↗12,397
  • fastapi/fastapifastapi avatar

    fastapi/fastapi

    99,260View on GitHub↗

    FastAPI is a web framework for building APIs with Python. It leverages standard language type hints to provide automatic data validation, request parsing, and interactive API documentation generation. The framework supports asynchronous request handling and manages execution contexts to prevent blocking the main event loop. The project includes a dependency injection system that allows for the resolution and injection of reusable components into request handlers. This system supports request-scoped caching, lifecycle management, and integration with security mechanisms like OAuth2 and JSON We

    This is FastAPI itself, the web framework, not a starter template or scaffold with pre-configured project structure; you would use FastAPI as the dependency for a template, but this repository is the underlying framework rather than a ready-to-use scaffold.

    PythonAsynchronous Request Processing
    View on GitHub↗99,260
  • encode/django-rest-frameworkencode avatar

    encode/django-rest-framework

    30,083View on GitHub↗

    Django REST Framework is a toolkit for building standards-compliant web services that map complex data models to structured HTTP responses. It provides a modular architecture for handling the request lifecycle, including authentication, permission checks, and content negotiation. The framework is designed to facilitate the development of robust APIs by transforming complex data types into native formats and validating incoming request payloads against defined schemas. The project distinguishes itself through a highly modular, class-based design that allows developers to build complex views an

    This is Django REST Framework, a toolkit for building APIs with Django, not a starter template or scaffold for FastAPI applications—it uses Django's synchronous ecosystem rather than FastAPI's async-native design, so it does not provide the project structure or features this search is after.

    PythonAPI Schema Generation
    View on GitHub↗30,083
Compare the top 10 at a glance
RepositoryStarsLanguageLicenseLast push
timothycrosley/hug6.9KPythonMITJul 4, 2024
theskumar/python-dotenv8.8KPythonBSD-3-ClauseJun 14, 2026
bkeepers/dotenv
6.8K
Ruby
MIT
Dec 3, 2025
litestar-org/litestar8.3KPythonMITJun 20, 2026
tiangolo/fastapi99.3KPythonMITJun 16, 2026
bitly/oauth2_proxy5.1KGoMITFeb 4, 2019
ory/kratos13.5KGoapache-2.0Feb 21, 2026
pyeve/eve6.7KPythonNOASSERTIONMar 24, 2026
kludex/starlette12.4KPythonBSD-3-ClauseJun 12, 2026
fastapi/fastapi99.3KPythonMITJun 16, 2026

Related searches

  • a full stack starter with Next.js FastAPI
  • a production ready Express TypeScript starter template
  • a rust web framework for REST APIs
  • a web framework for building HTTP APIs in Rust
  • a web framework for building APIs in Kotlin
  • a high performance web framework for Rust
  • a full stack boilerplate with JWT authentication
  • a production ready GraphQL server boilerplate