Skip to content

Latest commit

 

History

History
42 lines (32 loc) · 796 Bytes

README.md

File metadata and controls

42 lines (32 loc) · 796 Bytes

fast-api-clean-architecture

Fast API Clean Architecture template with docker, nginx, postgres, pgadmin4

Instructions

Run below commands to your terminal

COPY .env.example .env #copy sample env to .env
docker-compose up --build #build and spin docker containers
make migrate-up # to migrate migrations

Check Makefile for available commands

Features

  • Docker
  • postgres
  • nginx
  • pgadmin4
  • Dependency injection
  • SqlAlchemy as ORM
  • Poetry to manage python packages
  • Alembic for migrations
  • pydantic data validation
  • User model
  • User authentication
  • Exception handling
  • CORS middlware
  • Error handling