Skip to content

Boilerplate: FastAPIMongoLaunchpad

The FastAPIMongoLaunchpad is a production-ready boilerplate for building FastAPI applications with MongoDB integration.

Features

  • Pre-built CRUD operations
  • MongoDB integration with Beanie ODM
  • Modular architecture
  • Docker and Traefik support
  • Environment configuration
  • Ready-to-use project structure

Getting Started

  1. Clone the boilerplate:
    git clone https://github.com/mahdikiani/FastAPIMongoLaunchpad.git
    cd FastAPIMongoLaunchpad
    cp sample.env .env
    
  2. Start the application:
    docker compose up --build
    
  3. Access your API at http://localhost:8000/api/v1/docs

Project Structure

See the README for a detailed project structure and more examples.