Overview
ReptiDex operates on a consolidated microservices architecture with 6 core services designed for operational simplicity while maintaining proper service boundaries. This registry provides a complete view of our service ecosystem, dependencies, and development roadmap.Service Count: 6 consolidated services
Architecture: Database-per-service
Deployment: Docker Compose on EC2All services follow consistent patterns for authentication, observability, and event-driven communication via Grafana monitoring.
Architecture: Database-per-service
Deployment: Docker Compose on EC2All services follow consistent patterns for authentication, observability, and event-driven communication via Grafana monitoring.
Consolidated Service Architecture
Foundation
repti-core - Authentication, configuration, billing, events, telemetry
Business Logic
repti-animal - Animals, lineage, genetics, taxonomy, breeding
Commerce
repti-commerce - Marketplace, sales, transactions, inventory
Media & Content
repti-media - Files, rendering, embeds, content management
Engagement
repti-community - Search, notifications, community, advertising
Operations
repti-ops - Admin, audit, integrations, logging
Service Catalog
repti-core
Foundation service that supports all other domains| Attribute | Details |
|---|---|
| Purpose | Authentication, configuration, billing, events, telemetry |
| Port | 8001 |
| Database | repti_core_db |
| Status | Active Development |
| Team Owner | Platform Team |
- Identity & access management (users, organizations, sessions)
- Configuration & feature flags management
- Event bus & async processing coordination
- Telemetry collection and aggregation
- Billing and subscription management (Stripe/PayPal integration)
POST /auth/login- User authenticationGET /config/features- Feature flag retrievalPOST /events/publish- Event publishingGET /billing/subscriptions- Subscription management
repti-animal
Core business logic for reptile-specific functionality| Attribute | Details |
|---|---|
| Purpose | Animals, lineage, genetics, taxonomy, breeding |
| Port | 8002 |
| Database | repti_animal_db |
| Status | In Development |
| Team Owner | Business Logic Team |
- Animal records & metadata management
- Pedigree tracking & visualization (recursive up to N generations)
- Species taxonomy & traits (morphs, alleles, canonical traits)
- Breeding pairs & clutch tracking (attempts, hatch rates, offspring)
- Genetic analysis and predictions
GET /animals- Animal record retrievalGET /lineage/{animal_id}- Pedigree tree generationPOST /breeding/pairs- Breeding pair creationGET /taxonomy/species- Species and morph data
repti-commerce
Commerce and marketplace functionality| Attribute | Details |
|---|---|
| Purpose | Marketplace, sales, transactions, inventory |
| Port | 8003 |
| Database | repti_commerce_db |
| Status | Planned |
| Team Owner | Commerce Team |
- Marketplace listings and discovery
- Sales transactions and order management
- Inventory tracking and availability
- Payment processing coordination with repti-core
- Commerce analytics and reporting
GET /marketplace/listings- Browse available animalsPOST /orders- Purchase order creationGET /inventory/{breeder_id}- Inventory managementPOST /transactions- Transaction processing
repti-media
Media and content management| Attribute | Details |
|---|---|
| Purpose | Files, rendering, embeds, content |
| Port | 8004 |
| Database | repti_media_db |
| Status | Planned |
| Team Owner | Media Team |
- File storage & CDN management (images, videos, documents)
- Dynamic document/pedigree/chart rendering & exports (PDF, SVG, PNG)
- Embeddable widgets for external sites (profile cards, pedigree trees)
- Media processing and optimization
- Content management and delivery
POST /upload- File upload handlingGET /render/pedigree/{animal_id}- Pedigree chart renderingGET /embed/widgets- Widget generationGET /media/{file_id}- Media file retrieval
repti-community
Engagement and community features| Attribute | Details |
|---|---|
| Purpose | Search, notifications, community, advertising |
| Port | 8005 |
| Database | repti_community_db |
| Status | Planned |
| Team Owner | Engagement Team |
- Search & indexing across all content (animals, breeders, knowledge base)
- Multi-channel notifications (email, SMS, push, in-app)
- Community features and social interactions
- Advertising and promotion management (boosted listings, ad credits)
- User engagement analytics
GET /search- Global search functionalityPOST /notifications/send- Notification deliveryGET /community/forums- Community contentPOST /ads/campaigns- Advertisement management
repti-ops
Operations and administrative functionality| Attribute | Details |
|---|---|
| Purpose | Admin, audit, integrations, logging |
| Port | 8006 |
| Database | repti_ops_db |
| Status | Planned |
| Team Owner | Operations Team |
- Administrative tools and dashboards
- Audit logs & compliance reporting (GDPR, SOC2)
- Third-party integrations management (genetics labs, partner marketplaces)
- System monitoring and alerting via Grafana
- Operational analytics and insights
GET /admin/dashboard- Administrative interfaceGET /audit/logs- Audit trail retrievalPOST /integrations/configure- Integration setupGET /monitoring/health- System health checks
Service Dependencies & Communication
Service Dependency Graph
Service Communication Patterns
Synchronous Communication (REST APIs)
Synchronous Communication (REST APIs)
repti-core Dependencies:
- External Integrations: Stripe/PayPal APIs, AWS KMS, Email providers
- Internal: None (foundation service)
- Consumers: All other services depend on repti-core
- Internal: repti-core (authentication, configuration)
- Consumers: repti-commerce, repti-community, repti-media
- Internal: repti-core (auth, billing), repti-business (product data)
- External: Payment processors via repti-core
- Internal: repti-core (authentication)
- External: AWS S3, CDN services
- Internal: repti-core (auth), repti-animal (search data)
- External: Email/SMS providers
- Internal: repti-core (auth and events)
- External: Grafana, monitoring services
Asynchronous Communication (Events)
Asynchronous Communication (Events)
Event Categories:
- Core Events:
user.*,auth.*,config.*,billing.* - Animal Events:
animal.*,lineage.*,breeding.*,genetics.* - Commerce Events:
order.*,transaction.*,inventory.* - Media Events:
file.*,render.*,embed.* - Community Events:
search.*,notification.*,community.* - Operations Events:
audit.*,admin.*,integration.*
Deployment Architecture
Docker Compose Strategy
Simplified Deployment Approach:- Development: All 6 services in Docker Compose locally
- Staging: Single EC2 instance with Docker Compose
- Production: 2-3 EC2 instances behind Application Load Balancer
Service Configuration
Service Health Monitoring
Health Check Endpoints:GET /health- Basic service healthGET /health/deep- Database and dependency checksGET /metrics- Prometheus metrics for Grafana
- APM monitoring for all 6 services
- Custom dashboards for business metrics
- Alert policies for service failures
- Distributed tracing across service calls
Development Guidelines
Service Development Patterns
API Design Standards:- OpenAPI 3.0 specification for all endpoints
- RESTful resource naming conventions
- Consistent error response formats
- JWT authentication via repti-core
- Pydantic models for request/response validation
- Database-per-service isolation
- Row-level security for multi-tenancy
- Alembic migrations for schema changes
- Connection pooling and optimization
- Audit trails for all data changes
Operational Guidelines
Service Monitoring:- Grafana APM for all services
- Custom business metrics dashboards
- SLA monitoring (99.9% uptime target)
- Error rate alerting (< 1% error rate)
- Response time monitoring (< 500ms p95)
- Code Review: All changes require peer review
- Testing: Unit, integration, and e2e tests must pass
- Security Scan: Automated security vulnerability scanning
- Deploy to Staging: Test in staging environment
- Production Deploy: Rolling deployment with health checks
- Monitor: Verify service health and business metrics
- Grafana alerts automatically create incidents
- On-call rotation for critical service failures
- Runbooks for common issues documented per service
- Post-incident reviews and service improvements
Quick Actions
Service Health
Monitor all 6 services status and performance
API Documentation
Complete API reference for all services
Deployment Guide
Service deployment and Docker Compose setup
This service registry is automatically updated with each release. For real-time service status, check our Service Health Dashboard.

