MCPcopy Index your code
hub / github.com/deveshshrestha20/FastAPI_Project_Starter

github.com/deveshshrestha20/FastAPI_Project_Starter @v1.2.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release v1.2.0 ↗ · + Follow
40 symbols 156 edges 11 files 32 documented · 80% updated 9mo ago★ 44
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

FastAPI Project Starter

A powerful CLI tool for generating production-ready FastAPI projects with modern features and best practices.

PyPI version Python Support License: MIT

✨ Features

  • Database Support - PostgreSQL + SQLAlchemy + Alembic migrations with async or sync support
  • Authentication - JWT tokens + bcrypt + user management endpoints
  • Background Tasks - Celery + Redis + task monitoring with Flower
  • Advanced Logging - Loguru + structured logging + log rotation
  • Docker Ready - Complete containerization with docker-compose setup
  • Modern Python - Type hints, Pydantic v2, Python 3.8+ support

Installation

  pip install fastapi-project-starter

Quick Start

Interactive Mode (Recommended)

  fastapi_generator new create my_test_app -i

Usage

  fastapi_generator [COMMAND] [OPTIONS]

  Commands:
    new       Create a new FastAPI project
    version   Show current version

  Options:
    --help    Show help for the CLI or any subcommand

After Generation

Navigate and setup: bash cd project_name make install make dev # Build the docker containers make migrate # Run initial migrations

Access your API: - API: http://localhost:8000 - Docs: http://localhost:8000/docs - Flower: http://localhost:5555 - Mailpit: http://localhost:8025 - Traefik Dashboard: http://localhost:8080

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

This project is licensed under the MIT License.


FastAPI Project Starter - From zero to production-ready FastAPI in seconds!

Core symbols most depended-on inside this repo

collect_postgresql_config
called by 3
fastapi_generator/core/config.py
collect_auto_setup_config
called by 2
fastapi_generator/core/config.py
write_file
called by 2
fastapi_generator/core/utils.py
cleanup_project
called by 2
fastapi_generator/core/utils.py
run_command_with_spinner
called by 2
fastapi_generator/core/post_deployment_setup.py
run_post_setup
called by 2
fastapi_generator/core/post_deployment_setup.py
main
called by 1
fastapi_generator/cli.py
_render_templates
called by 1
fastapi_generator/commands/new.py

Shape

Function 19
Method 17
Class 4

Languages

Python100%

Modules by API surface

fastapi_generator/core/post_deployment_setup.py13 symbols
fastapi_generator/core/templates.py10 symbols
fastapi_generator/core/utils.py6 symbols
fastapi_generator/commands/new.py6 symbols
fastapi_generator/core/config.py3 symbols
fastapi_generator/cli.py2 symbols

For agents

$ claude mcp add FastAPI_Project_Starter \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact