Production-grade microservices-core component
Project description
Flask Microservices Core
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
676d9c1e7aee3160da44c08f31e37429f249df399047965240f95d4d9a81e3a1
|
|
| MD5 |
ce41dfed3683bdf11c11d2a764cfd7b3
|
|
| BLAKE2b-256 |
fc926b9fc4d097729da5e052374f57bb2bbd4591ab1c64321b0bcf07afdeea58
|
File details
Details for the file microservices_core-1.0.0-py3-none-any.whl.
File metadata
- Download URL: microservices_core-1.0.0-py3-none-any.whl
- Upload date:
- Size: 5.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cf81e411dfcdae593ce988b8f4d75048e970d9223639f409b73db03f30abe03d
|
|
| MD5 |
45a54f5d4276973bca578baeefa5c790
|
|
| BLAKE2b-256 |
98f83fa878c06fd75da9e0dfe45dd5a67706c3b2c2214a902a81e62302f6630c
|