Skip to main content

Production-grade microservices-core component

Project description

Flask Microservices Core

Python 3.11+ Flask SQLAlchemy License: MIT

A production-ready foundation for building scalable microservices with Flask.

🚀 Features

  • Application Factory: Modular and testable application setup.
  • Database ORM: SQLAlchemy 2.0 with migration support (Alembic).
  • Serialization: Marshmallow for complex object serialization/deserialization.
  • Async Tasks: Integrated Celery worker for background processing.
  • Containerization: Docker and Docker Compose ready.
  • Testing: Comprehensive Pytest suite.

📁 Structure

backend-flask-microservices-core/
├── app/
│   ├── api/          # API Blueprints
│   ├── models/       # Database Models
│   ├── schemas/      # Marshmallow Schemas
│   ├── services/     # Business Logic
│   └── tasks/        # Celery Tasks
├── migrations/       # Database Migrations
├── tests/            # Test Suite
├── config.py         # Configuration
├── wsgi.py           # Entry Point
├── Dockerfile
└── docker-compose.yml

🛠️ Quick Start

# Clone
git clone https://github.com/Shivay00001/backend-flask-microservices-core.git

# Run with Docker
docker-compose up --build

# Run locally
pip install -r requirements.txt
flask db upgrade
flask run

📄 License

MIT License

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

microservices_core-1.0.0.tar.gz (4.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

microservices_core-1.0.0-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

File details

Details for the file microservices_core-1.0.0.tar.gz.

File metadata

  • Download URL: microservices_core-1.0.0.tar.gz
  • Upload date:
  • Size: 4.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.6

File hashes

Hashes for microservices_core-1.0.0.tar.gz
Algorithm Hash digest
SHA256 676d9c1e7aee3160da44c08f31e37429f249df399047965240f95d4d9a81e3a1
MD5 ce41dfed3683bdf11c11d2a764cfd7b3
BLAKE2b-256 fc926b9fc4d097729da5e052374f57bb2bbd4591ab1c64321b0bcf07afdeea58

See more details on using hashes here.

File details

Details for the file microservices_core-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for microservices_core-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 cf81e411dfcdae593ce988b8f4d75048e970d9223639f409b73db03f30abe03d
MD5 45a54f5d4276973bca578baeefa5c790
BLAKE2b-256 98f83fa878c06fd75da9e0dfe45dd5a67706c3b2c2214a902a81e62302f6630c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page