Sign inSign up

ogulcanaydogan/fastapi-starter

By ogulcanaydogan

•Updated 10 months ago

Production-ready FastAPI template with async support

Image
0

1.1K

ogulcanaydogan/fastapi-starter repository overview

⁠FastAPI Starter

Production-ready FastAPI boilerplate with async support.

⁠Quick Start

docker run -d -p 8000:8000 ogulcanaydogan/fastapi-starter

⁠Features

  • FastAPI with async/await
  • Auto-generated OpenAPI docs
  • Health check endpoint
  • CORS middleware
  • Pydantic validation
  • Uvicorn ASGI server

⁠Endpoints

  • GET / - Welcome message
  • GET /health - Health check
  • GET /docs - Swagger UI
  • GET /redoc - ReDoc documentation

⁠Environment Variables

VariableDescriptionDefault
PORTServer port8000
WORKERSUvicorn workers1
LOG_LEVELLogging levelinfo

⁠Extend

FROM ogulcanaydogan/fastapi-starter
COPY ./app /app/app

⁠License

MIT

Tag summary

Content type

Image

Digest

sha256:a8982d7fe…

Size

53.2 MB

Last updated

10 months ago

docker pull ogulcanaydogan/fastapi-starter