Skip to content

ciroautuori/veloce

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

32 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

VELOCE Logo

Enterprise-Grade AI-Powered Full-Stack Framework
Where Italian Craftsmanship Meets Modern Architecture

License: MIT Docker Ready Python 3.12+ React 18+ Made in Italy PRs Welcome


๐Ÿ“‹ Table of Contents


๐ŸŽฏ Overview

VELOCE is a production-ready, enterprise-grade full-stack framework that represents months of architectural planning and development. This is my first open-source project, born from the vision of creating a comprehensive platform that combines modern best practices with real-world enterprise requirements.

Built with 850+ carefully crafted files across multiple layers, VELOCE is not just another boilerplateโ€”it's a complete ecosystem designed for building scalable SaaS platforms, enterprise applications, and AI-powered services.

๐ŸŽจ Philosophy

VELOCE embodies Italian craftsmanship in software engineering:

  • Veloce means "fast" in Italianโ€”reflecting both performance and development speed
  • Quality over quantity: Every file, every pattern, every decision is intentional
  • Enterprise-ready: Built for real-world production environments, not just demos
  • Developer experience: Comprehensive tooling and documentation for smooth onboarding

๐Ÿš€ Why VELOCE?

The Problem

Building modern enterprise applications requires integrating dozens of technologies, implementing complex patterns, ensuring security, and maintaining scalability. Most frameworks offer pieces of the puzzleโ€”VELOCE delivers the complete picture.

The Solution

VELOCE provides a battle-tested foundation with:

โœ… 10 Business Domains - Auth, Billing, Admin, GDPR, Support, Tenant, Analytics, Enrichment, Themes, Meta โœ… 3 Client Platforms - Web, Mobile, and API coverage โœ… AI Integration - Enterprise-grade MCP-powered AI agents โœ… Production Patterns - Real implementations, not TODOs โœ… Security First - OAuth2, GDPR, rate limiting, audit trails โœ… DevOps Ready - Docker, monitoring, health checks, CI/CD โœ… 319 Tests - Comprehensive testing infrastructure (30.54% coverage)

Who Is This For?

  • Startup Founders: Launch your MVP faster with enterprise-grade foundations
  • Enterprise Teams: Adopt proven patterns and reduce technical debt
  • Solo Developers: Learn modern architecture through working examples
  • Dev Teams: Standardize your stack with comprehensive conventions
  • Students: Study real-world production code and patterns

๐Ÿ—๏ธ Architecture

VELOCE implements Clean Architecture and Domain-Driven Design principles across a sophisticated multi-layer system:

โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚                        CLIENT LAYER                             โ”‚
โ”‚  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”           โ”‚
โ”‚  โ”‚   Web App    โ”‚  โ”‚  Mobile App  โ”‚  โ”‚  Admin Panel โ”‚           โ”‚
โ”‚  โ”‚  React 18    โ”‚  โ”‚   Expo 52    โ”‚  โ”‚   FastAPI    โ”‚           โ”‚
โ”‚  โ”‚  TypeScript  โ”‚  โ”‚ React Native โ”‚  โ”‚   Dashboard  โ”‚           โ”‚
โ”‚  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜           โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
                              โ–ผ
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚                    API GATEWAY LAYER                            โ”‚
โ”‚  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”  โ”‚
โ”‚  โ”‚  NGINX (Alpine) - Reverse Proxy, Load Balancing, CORS     โ”‚  โ”‚
โ”‚  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜  โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
                              โ–ผ
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚                   APPLICATION LAYER                             โ”‚
โ”‚  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”   โ”‚
โ”‚  โ”‚              FASTAPI BACKEND (10 DOMAINS)                โ”‚   โ”‚
โ”‚  โ”‚  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”          โ”‚   โ”‚
โ”‚  โ”‚  โ”‚    Auth    โ”‚  โ”‚  Billing   โ”‚  โ”‚   GDPR     โ”‚          โ”‚   โ”‚
โ”‚  โ”‚  โ”‚   Domain   โ”‚  โ”‚   Domain   โ”‚  โ”‚  Domain    โ”‚          โ”‚   โ”‚
โ”‚  โ”‚  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜          โ”‚   โ”‚
โ”‚  โ”‚  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”          โ”‚   โ”‚
โ”‚  โ”‚  โ”‚  Tenant    โ”‚  โ”‚ Analytics  โ”‚  โ”‚  Support   โ”‚          โ”‚   โ”‚
โ”‚  โ”‚  โ”‚   Domain   โ”‚  โ”‚   Domain   โ”‚  โ”‚  Domain    โ”‚          โ”‚   โ”‚
โ”‚  โ”‚  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜          โ”‚   โ”‚
โ”‚  โ”‚  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”          โ”‚   โ”‚
โ”‚  โ”‚  โ”‚Enrichment  โ”‚  โ”‚   Themes   โ”‚  โ”‚    Meta    โ”‚          โ”‚   โ”‚
โ”‚  โ”‚  โ”‚   Domain   โ”‚  โ”‚   Domain   โ”‚  โ”‚   Domain   โ”‚          โ”‚   โ”‚
โ”‚  โ”‚  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜          โ”‚   โ”‚
โ”‚  โ”‚  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”                                          โ”‚   โ”‚
โ”‚  โ”‚  โ”‚   Admin    โ”‚                                          โ”‚   โ”‚
โ”‚  โ”‚  โ”‚   Domain   โ”‚                                          โ”‚   โ”‚
โ”‚  โ”‚  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜                                          โ”‚   โ”‚
โ”‚  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜   โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
                              โ–ผ
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚                   MCP & AUTOMATION LAYER                        โ”‚
โ”‚  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”   โ”‚
โ”‚  โ”‚       MCP ORCHESTRATION WITH CONDUCTOR (90+ FILES)       โ”‚   โ”‚
โ”‚  โ”‚  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”            โ”‚   โ”‚
โ”‚  โ”‚  โ”‚          CONDUCTOR (Strategy Planner)    โ”‚            โ”‚   โ”‚
โ”‚  โ”‚  โ”‚  โ€ข Agent Coordinator & Context Manager   โ”‚            โ”‚   โ”‚
โ”‚  โ”‚  โ”‚  โ€ข Plan Manager (Tier 1 & 2 workflows)   โ”‚            โ”‚   โ”‚
โ”‚  โ”‚  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜            โ”‚   โ”‚
โ”‚  โ”‚                       โ–ผ                                  โ”‚   โ”‚
โ”‚  โ”‚  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”          โ”‚   โ”‚
โ”‚  โ”‚  โ”‚ CV Agent   โ”‚  โ”‚ Debug      โ”‚  โ”‚ Marketing  โ”‚          โ”‚   โ”‚
โ”‚  โ”‚  โ”‚ (RAG+LLM)  โ”‚  โ”‚ Agent      โ”‚  โ”‚ Agents     โ”‚          โ”‚   โ”‚
โ”‚  โ”‚  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜          โ”‚   โ”‚
โ”‚  โ”‚                                                          โ”‚   โ”‚
โ”‚  โ”‚  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”                  โ”‚   โ”‚
โ”‚  โ”‚  โ”‚  Support Agent (Unified LLM)       โ”‚                  โ”‚   โ”‚
โ”‚  โ”‚  โ”‚  โ€ข Multi-provider (OpenAI, Claude) โ”‚                  โ”‚   โ”‚
โ”‚  โ”‚  โ”‚  โ€ข Task Orchestration Strategies   โ”‚                  โ”‚   โ”‚
โ”‚  โ”‚  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜                  โ”‚   โ”‚
โ”‚  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜   โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
                              โ–ผ
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚                       DATA LAYER                                โ”‚
โ”‚  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”           โ”‚
โ”‚  โ”‚ PostgreSQL16 โ”‚  โ”‚   Redis 7    โ”‚  โ”‚  ChromaDB    โ”‚           โ”‚
โ”‚  โ”‚   Primary    โ”‚  โ”‚  Cache + Job โ”‚  โ”‚   Vectors    โ”‚           โ”‚
โ”‚  โ”‚   Database   โ”‚  โ”‚    Queue     โ”‚  โ”‚   Embeddings โ”‚           โ”‚
โ”‚  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜           โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
                              โ–ผ
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚                  OBSERVABILITY LAYER                            โ”‚
โ”‚  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”           โ”‚
โ”‚  โ”‚  Prometheus  โ”‚  โ”‚  Structlog   โ”‚  โ”‚Health Checks โ”‚           โ”‚
โ”‚  โ”‚   Metrics    โ”‚  โ”‚   Logging    โ”‚  โ”‚  Monitoring  โ”‚           โ”‚
โ”‚  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜           โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

๐ŸŽฏ Architectural Principles

  1. Domain-Driven Design (DDD)

    • 11 bounded contexts with clear responsibilities
    • Rich domain models with business logic
    • Ubiquitous language across teams
  2. Clean Architecture

    • Dependency inversion (dependencies point inward)
    • Framework-independent business logic
    • Testable and maintainable code
  3. SOLID Principles

    • Single Responsibility across all modules
    • Open/Closed for extensions
    • Interface segregation for flexibility
  4. Microservices-Ready

    • Domain isolation enables easy extraction
    • Event-driven communication patterns
    • Independent deployment capability

โœจ Features

๐Ÿ” Authentication & Authorization

Production-grade security implementation:

  • โœ… OAuth2 Integration - Google, LinkedIn social login
  • โœ… JWT Tokens - Secure token-based authentication with refresh
  • โœ… Multi-tenant Architecture - Complete tenant isolation
  • โœ… Role-Based Access Control (RBAC) - Granular permissions
  • โœ… API Key Management - For external integrations
  • โœ… Rate Limiting - Redis-based per-user/IP limiting
  • โœ… Session Management - Secure session handling
  • โœ… Password Security - Bcrypt hashing, complexity requirements

๐Ÿ’ณ Billing & Payments

Enterprise payment processing:

  • โœ… Stripe Integration - Complete payment lifecycle
  • โœ… Webhook Handling - Reliable event processing
  • โœ… Subscription Management - Multiple plans and tiers
  • โœ… Invoice Generation - Automated billing
  • โœ… Payment History - Complete audit trail
  • โœ… Refunds & Disputes - Customer support features

๐Ÿข Multi-Tenancy

True SaaS architecture:

  • โœ… Tenant Isolation - Complete data separation
  • โœ… Subdomain Routing - Custom tenant domains
  • โœ… Tenant Configuration - Per-tenant customization
  • โœ… Resource Quotas - Usage limits and metering
  • โœ… Tenant Analytics - Usage insights per tenant

๐Ÿ“Š Analytics & Monitoring

Comprehensive observability:

  • โœ… Prometheus Metrics - Application performance monitoring
  • โœ… Structured Logging - JSON logs with Structlog
  • โœ… Health Checks - Liveness and readiness probes
  • โœ… Custom Metrics - Business KPIs tracking
  • โœ… Error Tracking - Exception monitoring
  • โœ… Audit Logging - Complete action history

๐Ÿค– AI & Automation

Powered by MCP (Model Context Protocol) with Conductor:

  • โœ… Conductor Framework - Strategic planning with Tier 1 (Fast Track) & Tier 2 (Deep Change) workflows
  • โœ… Agent Coordinator - Manages agent lifecycle, context, and handoffs
  • โœ… Multi-Agent System - Specialized agents: CV (RAG+LLM), Debug, Support, Marketing
  • โœ… Cognitive Memory - ChromaDB-based learning system with vector embeddings
  • โœ… Unified LLM Manager - Multi-provider via LiteLLM (OpenAI, Anthropic, extensible)
  • โœ… Task Orchestration - Sequential, parallel, priority, and dependency strategies
  • โœ… State Management - Agent and conversation state tracking with context awareness
  • โœ… Vector Search - Semantic similarity search with ChromaDB for RAG

๐ŸŽจ Frontend (React 18 + TypeScript)

Modern, performant web application:

  • โœ… TypeScript 5.6.3 - Full type safety
  • โœ… Vite 6.0+ - Lightning-fast builds
  • โœ… TailwindCSS 3.4 - Utility-first styling
  • โœ… Radix UI - Accessible component primitives
  • โœ… Zustand - Lightweight state management
  • โœ… React Query - Server state synchronization
  • โœ… React Router 7.8+ - Type-safe routing
  • โœ… React Hook Form 7.48+ - Performant form handling
  • โœ… Zod - Runtime validation
  • โœ… Dark Mode - Theme switching
  • โœ… Responsive Design - Mobile-first approach
  • โœ… Code Splitting - Optimized bundle sizes
  • โœ… PWA Ready - Progressive web app features

๐Ÿ“ฑ Mobile (React Native + Expo)

Cross-platform native experience:

  • โœ… Expo 54.0.13+ - Modern development workflow
  • โœ… Clean Architecture - Layered mobile architecture
  • โœ… Redux Toolkit 1.9.7+ - Predictable state management
  • โœ… React Navigation - Native navigation
  • โœ… AsyncStorage - Local persistence
  • โœ… Offline-First - Sync queue implementation
  • โœ… Push Notifications - Firebase Cloud Messaging
  • โœ… Biometric Auth - Face ID / Touch ID
  • โœ… Camera Integration - Image capture and gallery
  • โœ… Deep Linking - Universal links support

๐Ÿ”’ GDPR & Privacy

Complete compliance framework:

  • โœ… Data Portability - Export user data
  • โœ… Right to be Forgotten - Complete data deletion
  • โœ… Consent Management - Cookie and privacy preferences
  • โœ… Privacy Policy - Legal documents management
  • โœ… Data Processing Agreements - Tenant-level DPAs
  • โœ… Audit Trail - Complete data access logs

๐ŸŽฏ Developer Experience

Built for productivity:

  • โœ… Docker Compose - One-command setup with infra-net
  • โœ… Hot Reload - Instant feedback loop
  • โœ… Type Safety - End-to-end type checking
  • โœ… API Documentation - Auto-generated Swagger UI
  • โœ… Database Migrations - Alembic version control
  • โœ… Testing Infrastructure - 319 tests with 30.54% coverage
  • โœ… Linting & Formatting - Ruff, ESLint, Prettier
  • โœ… UV Package Manager - Fast Python dependency management
  • โœ… Docker-based Testing - All tests run in containers

๐Ÿš€ Quick Start

Prerequisites

Ensure you have the following installed:

  • Python 3.12+ (Backend)
  • Node.js 20+ (Frontend/Mobile)
  • Docker & Docker Compose (Recommended)
  • Git (Version control)

๐Ÿณ Docker Installation (Recommended)

Get started in under 5 minutes:

# 1. Clone the repository
git clone https://github.com/ciroautuori/veloce.git
cd veloce

# 2. Navigate to Docker configuration
cd config/docker

# 3. Choose your setup:

# OPTION A: Local Development (infra-net external network)
docker-compose -f docker-compose.local.yml up -d

# OPTION B: Full Development Stack (isolated network)
docker-compose -f docker-compose-dev.yml up -d

# โœ… Services starting...
# Option A (Local):
# โœ“ PostgreSQL 16 โ†’ infra-postgres:5432
# โœ“ Redis 7 โ†’ infra-redis:6379
# โœ“ ChromaDB โ†’ infra-chroma:8100
# โœ“ Backend API โ†’ http://localhost:8005
# โœ“ Frontend โ†’ http://localhost:3000

# Option B (Full Dev):
# โœ“ NGINX โ†’ http://localhost:8081
# โœ“ PostgreSQL 16 โ†’ localhost:5435
# โœ“ Redis 7 โ†’ localhost:6382
# โœ“ ChromaDB โ†’ http://localhost:8100
# โœ“ Backend API โ†’ http://localhost:8001
# โœ“ Frontend โ†’ http://localhost:3000

๐Ÿ” Verify Installation

Frontend Application:

http://localhost:3000

Interactive API Documentation (Swagger UI):

# Option A (Local): http://localhost:8005/docs
# Option B (Full Dev): http://localhost:8001/docs

Alternative API Documentation (ReDoc):

# Option A (Local): http://localhost:8005/redoc
# Option B (Full Dev): http://localhost:8001/redoc

NGINX Reverse Proxy (Full Dev only):

# Option B (Full Dev): http://localhost:8081

๐Ÿ’ป Manual Installation

Backend Setup

# Navigate to backend
cd apps/backend

# Install dependencies with UV (recommended)
uv pip install -e ".[dev]"

# Or with pip
pip install -r requirements.txt

# Set up environment variables
cp .env.example .env
# Edit .env with your configuration

# Run database migrations
alembic upgrade head

# Start development server (runs on port 8000 internally)
uvicorn app.main:app --reload --port 8000

Frontend Setup

# Navigate to frontend
cd apps/frontend

# Install dependencies
npm install

# Set up environment variables
cp .env.example .env
# Edit .env with your configuration

# Start development server
npm run dev

Mobile Setup

# Navigate to mobile
cd apps/mobile

# Install dependencies
npm install

# Start Expo development server
npm start

# Scan QR code with Expo Go app (iOS/Android)

๐ŸŒ NGINX Configuration

Overview

In the Full Development Stack (docker-compose-dev.yml), NGINX Alpine acts as a reverse proxy and load balancer, providing:

  • Reverse Proxying: Routes requests to backend and frontend services
  • Load Balancing: Distributes traffic efficiently
  • CORS Support: Handles cross-origin requests on /api routes
  • Compression: Gzip compression for bandwidth optimization
  • Health Checks: Monitors service availability

Architecture

Client Browser (Port 8081)
    โ–ผ
NGINX Alpine (8081:80)
    โ”œโ”€ /api/* โ†’ FastAPI Backend (8000)
    โ”œโ”€ / โ†’ React Frontend (3000)
    โ”œโ”€ /health โ†’ Health check endpoint
    โ””โ”€ /metrics โ†’ Prometheus metrics

Configuration Files

Master Configuration: /config/services/nginx/nginx.conf

  • Worker processes: auto (scales with CPU cores)
  • Gzip compression: Enabled
  • MIME types: Comprehensive file type support
  • Logging: Structured access and error logs

Route Configuration: /config/services/nginx/conf.d/default.conf

  • Frontend Upstream: server frontend:3000; (Vite dev server)
  • Backend Upstream: server backend:8000; (FastAPI app)

Key Routes

Route Destination Purpose
/ Frontend (3000) React SPA application
/api/* Backend (8000) API endpoints with CORS
/health Backend (8000) Service health check
/metrics Backend (8000) Prometheus metrics

CORS Headers

NGINX automatically adds CORS headers on /api routes:

Access-Control-Allow-Origin: *
Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS, PATCH
Access-Control-Allow-Headers: Content-Type, Authorization

Port Mapping

Development Stack (docker-compose-dev.yml):

  • NGINX: 8081:80 - Main entry point
  • Backend: 8001:8000 - Direct access (bypassing NGINX)
  • Frontend: 3000:3000 - Direct access (bypassing NGINX)

Local Stack (docker-compose.local.yml):

  • Direct to Backend: 8005:8000 - No NGINX layer
  • Direct to Frontend: 3000:3000 - Direct Vite server

Customizing NGINX

To modify NGINX behavior:

  1. Edit Master Config:

    vim config/services/nginx/nginx.conf
  2. Edit Route Config:

    vim config/services/nginx/conf.d/default.conf
  3. Rebuild and Restart:

    docker-compose -f docker-compose-dev.yml down
    docker-compose -f docker-compose-dev.yml up -d

Monitoring NGINX

Check NGINX logs:

# Access logs
docker compose logs -f nginx

# View access in real-time
docker exec veloce-nginx tail -f /var/log/nginx/access.log

๐Ÿ› ๏ธ Tech Stack

Backend Stack

Technology Version Purpose Why Chosen
Python 3.12+ Core Language Modern features, type hints, performance
FastAPI 0.115.6+ Web Framework Async, automatic docs, validation
SQLAlchemy 2.0.35+ ORM Mature, powerful, async support
Alembic 1.14.0+ Migrations Database version control
PostgreSQL 16 Database ACID, JSON support, reliability
Redis 5.2.1+ Cache & Queue Caching, sessions, rate limiting
Pydantic 2.10.4+ Validation Runtime validation, settings management
Pytest 8.3.4+ Testing Async support, comprehensive fixtures
Structlog 24.4.0+ Logging Structured JSON logging, Sentry support
Uvicorn 0.34.0+ ASGI Server High performance, auto-reload

Frontend Stack

Technology Version Purpose Why Chosen
React 18.3.1+ UI Framework Virtual DOM, concurrent rendering
TypeScript 5.6.3+ Type Safety Catch errors early, better IDE support
Vite 6.0.5+ Build Tool Fast HMR, optimized builds
TailwindCSS 3.4.17+ Styling Utility-first, rapid development
Radix UI Latest Components Accessible, unstyled, composable
Zustand 4.4.7+ State Management Simple, performant, no boilerplate
React Query 5.17.0+ Server State TanStack Query, caching, sync
React Router 7.8.2+ Routing Data-driven routing with loaders
React Hook Form 7.48.2+ Forms Performant, minimal re-renders
Zod 3.22.4+ Schema Validation TypeScript-first, runtime validation

Mobile Stack

Technology Version Purpose Why Chosen
React Native 0.72.6+ Mobile Framework Cross-platform, native performance
Expo 54.0.13+ Development Platform Dev client, OTA updates, EAS
Redux Toolkit 1.9.7+ State Management Predictable, DevTools, middleware
React Navigation Latest Navigation Native transitions, deep linking
AsyncStorage 1.19.5+ Local Storage Simple API, reliable

AI & ML Stack

Technology Version Purpose Why Chosen
MCP + Conductor Latest Agent System Model Context Protocol with strategic planning
LiteLLM 1.0.0+ LLM Manager Multi-provider support (OpenAI, Anthropic)
ChromaDB 0.5.23+ Vector DB Embeddings, semantic search, cognitive memory
OpenAI API 1.58.1+ LLM Provider State-of-the-art GPT models
Anthropic Claude 0.18.0+ LLM Provider Advanced reasoning and analysis
LangChain 0.3.14+ RAG Framework Document Q&A, chains, semantic search
SentenceTransformers 2.2.0+ Embeddings Fast embeddings, semantic similarity
Unstructured 0.16.22+ Document Parsing PDF, DOCX extraction, document intelligence

DevOps Stack

Technology Version Purpose Why Chosen
Docker 24+ Containerization Industry standard, reproducible
Docker Compose v2+ Orchestration Easy multi-container setup
NGINX Alpine Reverse Proxy Lightweight, efficient, SSL support
Prometheus Latest Metrics Standard for monitoring
GitHub Actions - CI/CD Integrated, free for public repos

๐Ÿ“ Project Structure

veloce/
โ”œโ”€โ”€ apps/
โ”‚   โ”œโ”€โ”€ backend/                    # FastAPI Backend (395 files)
โ”‚   โ”‚   โ”œโ”€โ”€ app/
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ core/              # Core utilities and config
โ”‚   โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ config.py      # Configuration management
โ”‚   โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ security.py    # Security utilities
โ”‚   โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ database.py    # Database connection
โ”‚   โ”‚   โ”‚   โ”‚   โ””โ”€โ”€ mcp/           # MCP orchestration system
โ”‚   โ”‚   โ”‚   โ”‚       โ”œโ”€โ”€ conductor/    # Conductor (strategic planner)
โ”‚   โ”‚   โ”‚   โ”‚       โ”‚   โ”œโ”€โ”€ agent_coordinator.py
โ”‚   โ”‚   โ”‚   โ”‚       โ”‚   โ”œโ”€โ”€ context_manager.py
โ”‚   โ”‚   โ”‚   โ”‚       โ”‚   โ””โ”€โ”€ plan_manager.py
โ”‚   โ”‚   โ”‚   โ”‚       โ”œโ”€โ”€ agents/    # AI agents (Debug, Support, Marketing, CV)
โ”‚   โ”‚   โ”‚   โ”‚       โ”œโ”€โ”€ llm/       # Unified LLM manager
โ”‚   โ”‚   โ”‚   โ”‚       โ”œโ”€โ”€ memory/    # Cognitive memory system
โ”‚   โ”‚   โ”‚   โ”‚       โ”œโ”€โ”€ state/     # State management
โ”‚   โ”‚   โ”‚   โ”‚       โ”œโ”€โ”€ task/      # Task orchestration
โ”‚   โ”‚   โ”‚   โ”‚       โ””โ”€โ”€ orchestrator.py
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ domain/            # 10 Business Domains
โ”‚   โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ auth/          # Authentication & Authorization
โ”‚   โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ billing/       # Payments & Subscriptions
โ”‚   โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ admin/         # Admin management
โ”‚   โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ gdpr/          # GDPR compliance
โ”‚   โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ support/       # Customer support
โ”‚   โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ tenant/        # Multi-tenancy
โ”‚   โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ analytics/     # Analytics & metrics
โ”‚   โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ enrichment/    # Data enrichment
โ”‚   โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ themes/        # Theming system
โ”‚   โ”‚   โ”‚   โ”‚   โ””โ”€โ”€ meta/          # Metadata management
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ infrastructure/    # Infrastructure layer
โ”‚   โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ monitoring/    # Monitoring & metrics
โ”‚   โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ database/      # Database utilities
โ”‚   โ”‚   โ”‚   โ”‚   โ””โ”€โ”€ external/      # External integrations
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ middleware/        # Custom middleware
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ models/            # SQLAlchemy models
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ schemas/           # Pydantic schemas
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ services/          # Business logic
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ repositories/      # Data access layer
โ”‚   โ”‚   โ”‚   โ””โ”€โ”€ api/               # API routes
โ”‚   โ”‚   โ”œโ”€โ”€ tests/                 # Comprehensive tests (319 tests, 30.54% coverage)
โ”‚   โ”‚   โ”œโ”€โ”€ alembic/               # Database migrations
โ”‚   โ”‚   โ”œโ”€โ”€ pyproject.toml         # UV package configuration
โ”‚   โ”‚   โ”œโ”€โ”€ uv.lock                # UV lock file
โ”‚   โ”‚   โ””โ”€โ”€ main.py                # Application entry point
โ”‚   โ”‚
โ”‚   โ”œโ”€โ”€ frontend/                   # React Frontend (200+ files)
โ”‚   โ”‚   โ”œโ”€โ”€ src/
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ components/        # Reusable UI components
โ”‚   โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ ui/            # Base UI components (Radix)
โ”‚   โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ forms/         # Form components
โ”‚   โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ layouts/       # Layout components
โ”‚   โ”‚   โ”‚   โ”‚   โ””โ”€โ”€ features/      # Feature-specific components
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ pages/             # Page components
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ hooks/             # Custom React hooks
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ services/          # API service layer
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ stores/            # Zustand stores
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ utils/             # Utility functions
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ types/             # TypeScript types
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ styles/            # Global styles
โ”‚   โ”‚   โ”‚   โ””โ”€โ”€ config/            # Configuration
โ”‚   โ”‚   โ”œโ”€โ”€ public/                # Static assets
โ”‚   โ”‚   โ”œโ”€โ”€ package.json           # Dependencies
โ”‚   โ”‚   โ”œโ”€โ”€ pnpm-lock.yaml         # PNPM lock file
โ”‚   โ”‚   โ”œโ”€โ”€ tsconfig.json          # TypeScript config
โ”‚   โ”‚   โ”œโ”€โ”€ vite.config.ts         # Vite configuration
โ”‚   โ”‚   โ””โ”€โ”€ tailwind.config.js     # Tailwind configuration
โ”‚   โ”‚
โ”‚   โ”œโ”€โ”€ mobile/                     # React Native Mobile (200+ files)
โ”‚   โ”‚   โ”œโ”€โ”€ src/
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ core/              # Core layer (DI, config)
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ data/              # Data layer (API, storage)
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ domain/            # Domain layer (entities, use cases)
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ presentation/      # Presentation layer (UI)
โ”‚   โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ components/    # Reusable components
โ”‚   โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ screens/       # Screen components
โ”‚   โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ navigation/    # Navigation configuration
โ”‚   โ”‚   โ”‚   โ”‚   โ””โ”€โ”€ redux/         # Redux store
โ”‚   โ”‚   โ”‚   โ””โ”€โ”€ utils/             # Utility functions
โ”‚   โ”‚   โ”œโ”€โ”€ assets/                # Images, fonts
โ”‚   โ”‚   โ”œโ”€โ”€ app.json               # Expo configuration
โ”‚   โ”‚   โ”œโ”€โ”€ package.json           # Dependencies
โ”‚   โ”‚   โ””โ”€โ”€ tsconfig.json          # TypeScript config
โ”‚   โ”‚
โ”œโ”€โ”€ config/                         # Configuration files
โ”‚   โ”œโ”€โ”€ docker/                    # Docker configurations
โ”‚   โ”‚   โ”œโ”€โ”€ docker-compose.local.yml    # Local development
โ”‚   โ”‚   โ”œโ”€โ”€ docker-compose-dev.yml     # Development environment
โ”‚   โ”‚   โ”œโ”€โ”€ docker-compose-prod.yml    # Production environment
โ”‚   โ”‚   โ”œโ”€โ”€ dockerfiles/                # Dockerfiles
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ backend.Dockerfile
โ”‚   โ”‚   โ”‚   โ””โ”€โ”€ frontend.Dockerfile
โ”‚   โ”‚   โ””โ”€โ”€ README.md                 # Docker documentation
โ”‚   โ”œโ”€โ”€ env/                       # Environment templates
โ”‚   โ”‚   โ”œโ”€โ”€ .env.backend.example   # Backend env template
โ”‚   โ”‚   โ”œโ”€โ”€ .env.frontend.example  # Frontend env template
โ”‚   โ”‚   โ””โ”€โ”€ .env.mobile.example    # Mobile env template
โ”‚   โ””โ”€โ”€ services/                  # Service configurations
โ”‚       โ”œโ”€โ”€ nginx/                 # Nginx configuration
โ”‚       โ”‚   โ”œโ”€โ”€ nginx.conf
โ”‚       โ”‚   โ””โ”€โ”€ conf.d/
โ”‚       โ””โ”€โ”€ prometheus.yml         # Prometheus configuration
โ”‚
โ”œโ”€โ”€ docs/                           # Comprehensive documentation
โ”‚   โ”œโ”€โ”€ PORTS.md                   # Port allocation registry
โ”‚   โ”œโ”€โ”€ DOCUMENTATION.md           # Main technical documentation
โ”‚   โ”œโ”€โ”€ architecture/              # Architecture diagrams & docs
โ”‚   โ”‚   โ”œโ”€โ”€ backend-architecture.md
โ”‚   โ”‚   โ”œโ”€โ”€ frontend-architecture.md
โ”‚   โ”‚   โ”œโ”€โ”€ mobile-architecture.md
โ”‚   โ”‚   โ””โ”€โ”€ ai-architecture.md
โ”‚   โ”œโ”€โ”€ guides/                    # How-to guides
โ”‚   โ”‚   โ”œโ”€โ”€ deployment.md          # Deployment guide
โ”‚   โ”‚   โ”œโ”€โ”€ development.md         # Development workflow
โ”‚   โ”‚   โ”œโ”€โ”€ testing.md             # Testing guide
โ”‚   โ”‚   โ””โ”€โ”€ troubleshooting.md     # Common issues
โ”‚   โ””โ”€โ”€ api/                       # API documentation
โ”‚       โ””โ”€โ”€ endpoints.md           # Endpoint reference
โ”‚
โ”œโ”€โ”€ scripts/                        # Utility scripts
โ”‚   โ”œโ”€โ”€ setup.sh                   # Initial setup
โ”‚   โ”œโ”€โ”€ test.sh                    # Run all tests
โ”‚   โ””โ”€โ”€ deploy.sh                  # Deployment script
โ”‚
โ”œโ”€โ”€ .github/                        # GitHub configuration
โ”‚   โ”œโ”€โ”€ workflows/                 # CI/CD workflows
โ”‚   โ”‚   โ”œโ”€โ”€ backend-ci.yml         # Backend CI
โ”‚   โ”‚   โ”œโ”€โ”€ frontend-ci.yml        # Frontend CI
โ”‚   โ”‚   โ””โ”€โ”€ mobile-ci.yml          # Mobile CI
โ”‚   โ”œโ”€โ”€ ISSUE_TEMPLATE/            # Issue templates
โ”‚   โ””โ”€โ”€ PULL_REQUEST_TEMPLATE.md   # PR template
โ”‚
โ”œโ”€โ”€ CONTRIBUTING.md                 # Contribution guidelines
โ”œโ”€โ”€ CODE_OF_CONDUCT.md             # Code of conduct
โ”œโ”€โ”€ CHANGELOG.md                   # Version history
โ”œโ”€โ”€ BRAND.md                       # Brand guidelines
โ”œโ”€โ”€ LICENSE                        # MIT License
โ””โ”€โ”€ README.md                      # This file

๐Ÿ“Š Project Statistics

  • Total Files: 850+
  • Lines of Code: ~50,000+
  • Backend Files: 300+
  • Frontend Files: 200+
  • Mobile Files: 200+
  • MCP System Files: 90+ (including Conductor framework)
  • Business Domains: 10 core domains
  • Test Files: 39 test files
  • Total Tests: 319
  • Test Coverage: 30.54%
  • Documentation Pages: 20+

๐Ÿ“š Documentation

Core Documentation

Docker & DevOps

Domain Documentation

Each domain has comprehensive documentation:

  • ๐Ÿ” Auth Domain - Authentication and authorization
  • ๐Ÿ’ณ Billing Domain - Payment processing and subscriptions
  • ๐Ÿ‘ฅ Tenant Domain - Multi-tenancy implementation
  • ๐Ÿ“Š Analytics Domain - Metrics and reporting
  • ๐ŸŽจ Themes Domain - Customization system
  • ๐Ÿ›ก๏ธ GDPR Domain - Privacy compliance
  • ๐Ÿ’ฌ Support Domain - Customer support features
  • ๐Ÿ”ง Admin Domain - Administrative tools
  • โšก Enrichment Domain - Data enrichment
  • ๐Ÿ“ Meta Domain - Metadata management

API Documentation

When running locally, access interactive documentation:

Brand & Style


๐Ÿค Contributing

VELOCE is my first open-source project, and contributions are warmly welcomed! Whether you're fixing bugs, adding features, improving documentation, or sharing ideas, your help makes VELOCE better for everyone.

๐ŸŒŸ Ways to Contribute

1. Code Contributions

  • ๐Ÿ› Fix bugs or issues
  • โœจ Implement new features
  • โšก Improve performance
  • ๐Ÿ”’ Enhance security

2. Documentation

  • ๐Ÿ“ Improve existing docs
  • ๐Ÿ“š Write tutorials and guides
  • ๐ŸŒ Translate documentation
  • ๐Ÿ’ก Add examples and use cases

3. Community

  • ๐Ÿ’ฌ Answer questions in Discussions
  • ๐ŸŽ“ Share your VELOCE projects
  • ๐Ÿ“ข Write blog posts or articles
  • ๐ŸŽค Give talks at meetups

4. Testing & Feedback

  • ๐Ÿงช Write tests
  • ๐Ÿ› Report bugs
  • ๐Ÿ’ก Suggest features
  • ๐Ÿ“Š Share usage metrics

๐Ÿš€ Getting Started

  1. Read the Contributing Guide - Essential information for contributors
  2. Check Good First Issues - Perfect for newcomers
  3. Join Discussions - Ask questions, share ideas
  4. Review the Code of Conduct - Community guidelines

๐Ÿ“‹ Contribution Process

# 1. Fork the repository
# Click "Fork" button on GitHub

# 2. Clone your fork
git clone https://github.com/YOUR_USERNAME/veloce.git
cd veloce

# 3. Create a feature branch
git checkout -b feature/amazing-feature

# 4. Make your changes
# Edit files, add features, fix bugs

# 5. Test your changes
cd apps/backend && pytest
cd apps/frontend && npm test

# 6. Commit with clear message
git commit -m "feat: add amazing feature"

# 7. Push to your fork
git push origin feature/amazing-feature

# 8. Open a Pull Request
# Go to GitHub and create a PR from your fork

๐Ÿ“ Commit Convention

We follow Conventional Commits:

feat: add new authentication provider
fix: resolve user registration bug
docs: update installation guide
style: format code with black
refactor: restructure billing domain
test: add tests for payment flow
chore: update dependencies

๐ŸŽฏ Areas Needing Help

Current priorities for contributions:

  • Testing: Increase coverage to 80%+
  • Documentation: More tutorials and examples
  • Internationalization: Add i18n support
  • Mobile Features: Enhanced offline capabilities
  • AI Agents: Additional specialized agents
  • Performance: Optimize database queries
  • Security: Security audit and improvements
  • DevOps: Kubernetes configurations
  • Examples: Real-world implementation examples
  • Integrations: Additional third-party services

๐Ÿ’ก Feature Requests

Have an idea? We'd love to hear it!

  1. Check existing issues to avoid duplicates
  2. Open a feature request
  3. Describe the problem and proposed solution
  4. Add mockups or examples if applicable

๐Ÿ› Bug Reports

Found a bug? Help us fix it!

  1. Check if it's already reported
  2. Open a bug report
  3. Include reproduction steps
  4. Add environment details (OS, versions, etc.)
  5. Attach logs or screenshots if relevant

๐Ÿ—บ๏ธ Roadmap

โœ… Version 2.0 (Released - 2026-01-10)

Goal: Enterprise-grade AI-powered framework with MCP and Conductor

  • Core architecture with 10 business domains
  • Authentication and authorization
  • Multi-tenancy support
  • Payment processing (Stripe)
  • MCP (Model Context Protocol) System - Enterprise AI agents orchestration with Conductor
  • Conductor Framework - Strategic planning engine for Tier 1/2 workflows
  • Cognitive memory with ChromaDB
  • Multi-provider LLM support via LiteLLM (OpenAI, Anthropic)
  • Specialized agents (Debug, Support, Marketing, CV)
  • Mobile app (iOS/Android)
  • Docker deployment with UV package manager
  • 319 comprehensive tests (30.54% coverage)
  • Enhanced monitoring system (Prometheus metrics)
  • Comprehensive documentation

๐Ÿš€ Version 2.1 (Q1 2026)

Focus: Enhanced developer experience and testing

  • Kubernetes Support - K8s manifests and Helm charts
  • GraphQL API - Alternative to REST
  • WebSockets - Real-time features
  • Increase test coverage to 60%+
  • Advanced Monitoring - Grafana dashboards
  • E2E Testing - Playwright tests
  • Storybook - Component documentation
  • CLI Tool - Project scaffolding

๐ŸŒŸ Version 3.0 (Q2 2026)

Focus: Enterprise scaling and AI enhancements

  • SSO Integration - SAML, OIDC support
  • Advanced RBAC - Attribute-based access control
  • Workflow Engine - Custom business workflows
  • Advanced Analytics - ML-powered insights
  • Notification System - Email, SMS, push, webhooks
  • File Management - Document storage and processing
  • API Gateway - Kong or Tyk integration
  • Message Queue - RabbitMQ or Kafka
  • Enhanced AI Agents - More specialized agents
  • Reach 80%+ test coverage

๐Ÿ’Ž Future Vision (2026+)

Focus: Innovation and ecosystem

  • Marketplace - Plugin and theme marketplace
  • Low-Code Builder - Visual application builder
  • Multi-Cloud Support - AWS, Azure, GCP deployment
  • Edge Computing - CDN and edge functions
  • Blockchain Integration - Web3 features
  • AR/VR Support - Immersive experiences
  • Voice Interface - Voice-controlled features
  • VELOCE Cloud - Managed hosting platform

๐Ÿ“Š Metrics & Goals

By End of 2026:

  • โญ 1,000+ GitHub Stars
  • ๐Ÿค 100+ Contributors
  • ๐Ÿ“ฆ 10,000+ Downloads
  • ๐Ÿข 50+ Production Deployments
  • ๐Ÿ“ 100+ Documentation Pages
  • ๐Ÿงช 80%+ Test Coverage (target)
  • ๐ŸŒ Support for 10+ Languages
  • ๐ŸŽ“ 5,000+ Developer Community

๐ŸŒ Community

Join the VELOCE community and connect with other developers!

๐Ÿ’ฌ Where to Find Us

๐Ÿ“ง Contact

๐ŸŽ“ Learning Resources

For Beginners

For Advanced Users

Video Tutorials

  • ๐ŸŽฅ Getting Started with VELOCE (Coming Soon)
  • ๐ŸŽฅ Building Your First Feature (Coming Soon)
  • ๐ŸŽฅ Deploying to Production (Coming Soon)

๐Ÿ† Recognition

Special thanks to early contributors and supporters:

  • Contributors will be listed here
  • Star the project to show your support! โญ

๐ŸŽ–๏ธ Acknowledgments

๐Ÿ‡ฎ๐Ÿ‡น Made in Italy

VELOCE is proudly Made in Italy, embodying the values of Italian craftsmanship:

  • Velocitร  (Speed): Performance-first architecture
  • Qualitร  (Quality): Meticulous attention to detail
  • Bellezza (Beauty): Elegant, clean code
  • Passione (Passion): Built with love and dedication

Like Ferrari brings Italian excellence to automotive, and Armani to fashion, VELOCE brings these values to software engineering.

๐Ÿค– Powered by DataPizza AI

Special thanks to DataPizza Labs for their incredible DataPizza AI system:

  • Enterprise-grade AI agents framework
  • Developed by talented Italian engineers
  • Powers VELOCE's intelligent automation
  • Open-source and community-driven

DataPizza AI provides:

  • Multi-agent orchestration
  • RAG (Retrieval-Augmented Generation)
  • Multi-provider LLM support
  • Production-ready implementations

Visit DataPizza AI on GitHub to learn more.

๐Ÿ™ Technology Acknowledgments

VELOCE builds upon the shoulders of giants. Thank you to:

  • FastAPI - Sebastiรกn Ramรญrez for the incredible web framework
  • React - Meta and the React team for revolutionary UI library
  • Python - Guido van Rossum and the Python community
  • PostgreSQL - The PostgreSQL Global Development Group
  • Redis - Salvatore Sanfilippo and Redis Labs
  • Docker - Docker Inc. for containerization
  • TypeScript - Microsoft for type safety in JavaScript
  • Expo - Expo team for amazing React Native DX

And countless other open-source projects that make VELOCE possible.

๐Ÿ“š Inspiration

VELOCE was inspired by studying and learning from:

  • Django - Python web framework excellence
  • Ruby on Rails - Convention over configuration
  • Spring Boot - Enterprise Java patterns
  • NestJS - Modern Node.js architecture
  • Laravel - Elegant PHP development

๐ŸŽ“ My Journey

This is my first open-source project, born from:

  • Months of planning - Careful architectural decisions
  • Real-world experience - Production lessons learned
  • Passion for quality - No compromises on code quality
  • Community first - Built to share and help others
  • Continuous learning - Growing with each contribution

๐Ÿ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.

What This Means

โœ… You Can:

  • Use commercially
  • Modify and distribute
  • Use privately
  • Sublicense

โŒ You Must:

  • Include copyright notice
  • Include license text

โŒ No Warranty:

  • Software provided "as is"
  • No liability for damages

Attribution

If you use VELOCE in your project, we'd appreciate attribution:

Built with [VELOCE](https://github.com/ciroautuori/veloce) -
Enterprise-Grade Full-Stack Framework

๐Ÿ”’ Security

Security is a top priority for VELOCE.

Reporting Vulnerabilities

If you discover a security vulnerability, please:

  1. DO NOT open a public issue
  2. Email: security@veloce.dev
  3. Include:
    • Description of the vulnerability
    • Steps to reproduce
    • Potential impact
    • Suggested fix (if any)

We will:

  • Acknowledge receipt within 24 hours
  • Provide a detailed response within 72 hours
  • Work on a fix immediately
  • Credit you in the security advisory (if desired)

Security Features

VELOCE includes enterprise-grade security:

  • ๐Ÿ” OAuth2 + JWT authentication
  • ๐Ÿ›ก๏ธ SQL injection prevention (SQLAlchemy)
  • ๐Ÿ”’ XSS protection (React, CSP headers)
  • ๐Ÿšซ CSRF protection
  • โฑ๏ธ Rate limiting per user/IP
  • ๐Ÿ“ Audit logging
  • ๐Ÿ”‘ API key management
  • ๐ŸŒ HTTPS/TLS support
  • ๐Ÿ›‚ CORS configuration
  • ๐Ÿ“‹ GDPR compliance tools

Best Practices

When deploying VELOCE:

  1. Always use HTTPS in production
  2. Keep dependencies updated regularly
  3. Use strong secrets for JWT and API keys
  4. Enable rate limiting to prevent abuse
  5. Monitor logs for suspicious activity
  6. Regular security audits recommended
  7. Backup database regularly
  8. Use environment variables for sensitive data

๐Ÿ“ˆ Project Status

Current Status: v2.0.0 Released ๐Ÿš€

VELOCE has reached v2.0.0 with the new MCP (Model Context Protocol) system and enhanced testing infrastructure.

Stats

  • Started: 2024
  • Current Version: 2.0.0 (Stable)
  • Contributors: Growing community
  • Production Ready: 95%
  • Test Coverage: 30.54% (target: 80%+)
  • Total Tests: 319
  • Documentation: Comprehensive

Stability

Component Status Production Ready
Backend API โœ… Stable Yes
Frontend Web โœ… Stable Yes
Mobile App โœ… Stable Yes
MCP AI System โœ… Stable Yes
Docker Setup โœ… Stable Yes
Documentation โœ… Complete Yes
Testing ๐Ÿ”„ Growing 30.54% coverage

Release Cycle

  • Major versions: Every 6-12 months
  • Minor versions: Every 2-3 months
  • Patch versions: As needed
  • Security patches: Immediate

๐ŸŽฏ Use Cases

VELOCE is perfect for:

๐Ÿš€ SaaS Platforms

Build multi-tenant SaaS applications with:

  • User management and authentication
  • Subscription billing (Stripe)
  • Usage analytics and metrics
  • Custom theming per tenant
  • GDPR compliance built-in

๐Ÿข Enterprise Applications

Enterprise-ready with:

  • Domain-driven architecture
  • Microservices patterns
  • Security and compliance
  • Audit logging
  • Role-based access control

๐Ÿค– AI-Powered Services

Leverage AI capabilities:

  • RAG-based chatbots
  • Document analysis
  • Marketing automation
  • Smart recommendations
  • Custom AI agents

๐Ÿ“ฑ Mobile-First Products

Cross-platform mobile apps:

  • Native iOS and Android
  • Offline-first architecture
  • Push notifications
  • Biometric authentication

๐ŸŽ“ Learning Projects

Perfect for education:

  • Study modern architecture
  • Learn best practices
  • Real-world patterns
  • Production-ready code

๐Ÿ”— Related Projects

Official Repositories

Example Projects

  • Coming Soon: Example applications built with VELOCE
  • Coming Soon: Starter templates
  • Coming Soon: Integration examples

๐Ÿ’ป System Requirements

Development

Minimum:

  • CPU: 4 cores
  • RAM: 8 GB
  • Disk: 20 GB free space
  • OS: Windows 10+, macOS 11+, Linux (Ubuntu 20.04+)

Recommended:

  • CPU: 8+ cores
  • RAM: 16+ GB
  • Disk: 50+ GB SSD
  • OS: Latest versions

Production

Small Deployment (< 1000 users):

  • CPU: 2 cores
  • RAM: 4 GB
  • Disk: 20 GB
  • Database: PostgreSQL 16
  • Cache: Redis 7

Medium Deployment (1000-10000 users):

  • CPU: 4 cores
  • RAM: 8 GB
  • Disk: 50 GB
  • Load balancer: Required
  • Database: PostgreSQL 16 (replicated)

Large Deployment (10000+ users):

  • CPU: 8+ cores
  • RAM: 16+ GB
  • Disk: 100+ GB
  • Kubernetes: Recommended
  • Database: PostgreSQL cluster
  • CDN: Required

๐Ÿ“š Additional Resources

Official Documentation

Developer Tools

Development Commands - All available via make:

make help              # Show all available commands
make dev              # Start full development stack
make test             # Run all tests
make lint             # Lint code
make format           # Format code
make security-check   # Run security audits

VS Code Integration:

  • .vscode/settings.json - Recommended project settings
  • .vscode/extensions.json - Suggested VS Code extensions
  • .vscode/launch.json - Debug configurations for backend, frontend, tests

CI/CD Pipelines:

  • .github/workflows/ci.yml - Automated testing and quality checks
  • .github/workflows/deploy.yml - Docker image building and publishing

Code Formatting:

  • .editorconfig - Consistent formatting across editors
  • Makefile - Development and deployment automation

Learning Resources

Getting Started

  1. Read ABOUT.md - Understand the project vision
  2. Follow Quick Start - Get VELOCE running locally
  3. Explore Project Structure - Understand the codebase
  4. Read Architecture - Learn the design patterns

Advanced Topics

  • Study the backend code in apps/backend/app/core/ - DDD and Clean Architecture
  • Explore MCP system in apps/backend/app/core/mcp/ - AI agents orchestration
  • Review test suite in apps/backend/tests/ - Testing best practices

External Resources

Community & Support

Channel Link
Discussions GitHub Discussions
Issue Tracker GitHub Issues
Security SECURITY.md
Email ciroautuori@example.com

โ“ FAQ

General Questions

Q: Is VELOCE production-ready? A: Yes! VELOCE v2.0.0 is production-ready with 850+ files and used in real applications. Currently at 95% production readiness with comprehensive MCP system, 319 tests, and enterprise-grade features.

Q: Can I use this for commercial projects? A: Absolutely! VELOCE is MIT licensed, perfect for commercial use.

Q: Do I need to know Python and React? A: Basic knowledge is recommended, but VELOCE's documentation helps you learn.

Q: Is VELOCE suitable for beginners? A: Yes! Start with the Quick Start guide and explore gradually.

Technical Questions

Q: Why FastAPI instead of Django? A: FastAPI offers async support, automatic docs, better performance, and modern Python features.

Q: Can I use a different database? A: PostgreSQL is recommended, but SQLAlchemy supports MySQL, SQLite, and others.

Q: Does it support microservices? A: Yes! Domains are designed to be extracted into microservices easily.

Q: What about scaling? A: VELOCE is designed to scale horizontally with Docker/Kubernetes.

Deployment Questions

Q: Can I deploy on AWS/Azure/GCP? A: Yes! Docker containers work on any cloud platform.

Q: Do you provide hosting? A: Not yet, but VELOCE Cloud is on the roadmap.

Q: What's the deployment process? A: See Deployment Guide for detailed instructions.


๐ŸŽŠ Thank You!

Thank you for checking out VELOCE! This project represents months of work, learning, and passion for building quality software.

Whether you:

  • โญ Star the repository
  • ๐Ÿ› Report a bug
  • ๐Ÿ’ก Suggest a feature
  • ๐Ÿค Contribute code
  • ๐Ÿ“ข Share with others
  • ๐Ÿ“š Improve documentation

Every contribution matters and helps make VELOCE better!


VELOCE
Where Italian Speed Meets AI Intelligence
๐ŸŽ๏ธ ๐Ÿ‡ฎ๐Ÿ‡น ๐Ÿค–

Built with โค๏ธ and โ˜• in Italy

โญ Star us on GitHub โ€ข ๐Ÿ› Report Bug โ€ข ๐Ÿ’ฌ Discussions

Made with passion by Ciro Autuori

About

No description, website, or topics provided.

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Packages

 
 
 

Contributors