{"repo":"borys25ol/fastapi-realworld-backend","free":true,"listed":false,"github":"https://github.com/borys25ol/fastapi-realworld-backend","clone":"git clone https://github.com/borys25ol/fastapi-realworld-backend.git","description":"A real-world backend application (API) using Python, FastAPI and SQLAlchemy","language":"Python","stars":50,"topics":["alembic","conduit","fastapi","jwt","realworld-backend","sqlalchemy","python312"],"license":null,"category":"auth-billing-email","readme_excerpt":"### Python / FastAPI codebase containing real world examples (CRUD, auth, middlewares advanced patterns, etc.) that adheres to the RealWorld spec and API. Demo&nbsp;&nbsp;&nbsp;&nbsp;RealWorld This codebase was created to demonstrate a fully fledged backend application built with FastAPI including CRUD operations, authentication, routing, and more. For more information on how this works with other frontends/backends, head over to the RealWorld repo. Description This project is a Python-based API that uses PostgreSQL as its database. It is built with FastAPI, a modern, fast (high-performance), web framework for building APIs with Python 3 based on standard Python type hints. Package layout - conduit/api : HTTP layer (routes, schemas, middlewares) - conduit/services : application services/use-cases - conduit/interfaces : interfaces/abstractions (repositories, service contracts) - conduit/dtos : DTOs used across layers - conduit/dtos/domain : business-level DTOs used by services and API schemas - conduit/dtos/records : persistence DTOs returned by repositories - conduit/infrastructure : SQLAlchemy models, repositories, migrations - conduit/core : config, logging, security, shared utilities Prerequisites - Python 3.12 - FastAPI - PostgreSQL - Pytest - Docker Installation Create a virtual environment: Install dependencies: Configuration -------------- Replace .env.example with real .env , changing placeholders Run with Docker -------------- You must have docker and docker-compose ","default_branch":null,"files":null,"tree":[],"storefront":"/r/borys25ol","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/borys25ol/fastapi-realworld-backend/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}