web-public Application
Marketing, Discovery & Animal PurchasingApplication Type: Public-Facing Marketing Site
Port: 3000
Users: Anonymous visitors, buyers
Status: In Development
Technology: Next.js 15 + Material UI + @reptidex/ui + @reptidex/core
Port: 3000
Users: Anonymous visitors, buyers
Status: In Development
Technology: Next.js 15 + Material UI + @reptidex/ui + @reptidex/core
Purpose & Responsibilities
web-public serves as ReptiDex’s primary marketing and discovery platform, providing an SEO-optimized, fast-loading experience for users discovering the platform, browsing animals, and learning about reptile care and breeding.Core Features
Marketing & Landing
- Homepage with hero sections and testimonials
- About pages with platform story and mission
- Pricing tiers and feature comparisons
- SEO-optimized breed and location pages
- Contact forms and lead generation
Animal Discovery
- Advanced search with species/genetics filtering
- Browse categories by species and morphs
- Public animal profiles with image galleries
- Breeder directory and public profiles
- Purchase inquiry and contact system
Educational Content
- Species-specific care guides
- Breeding and genetics education
- Interactive taxonomy browser
- Resource library with videos and documents
- Community-contributed content
SEO & Performance
- Static generation for marketing content
- Server-side rendering for dynamic pages
- Optimized Core Web Vitals
- Structured data for rich snippets
- Progressive Web App features
Application Architecture
Technology Stack
Core Technologies
Core Technologies
Framework & Runtime:
- Next.js 15 with App Router and Server Components
- React 18 with concurrent features
- TypeScript for type safety
- Material UI components via @reptidex/ui
- @reptidex/ui: Material UI theme, components, design system
- @reptidex/core: API clients, business logic, state management
- React Query for server state management
- Zustand for client state management
- Static generation with ISR for dynamic content
- Optimistic updates for search interactions
Page Structure
Data Architecture
API Integration
Service Integration via @reptidex/core
Service Integration via @reptidex/core
Backend Service Integration:
- repti-animal: Animal data, lineage, species information
- repti-commerce: Public marketplace listings
- repti-community: Search functionality and content
- repti-media: Image galleries and file delivery
- repti-core: Authentication for contact forms
Caching Strategy
Multi-Level Caching
Multi-Level Caching
Next.js Caching:
- Static generation for marketing pages
- ISR for animal and breeder profiles
- Route handlers with cache headers
- Image optimization with automatic WebP/AVIF
- Search results: 30 second stale time
- Animal profiles: 5 minute stale time
- Species data: 1 hour stale time
- Educational content: 24 hour stale time
- Static assets: 1 year cache
- API responses: 5 minute cache with SWR
- Images: Automatic optimization and caching
- Service worker for offline browsing
User Experience Features
Search & Discovery
Advanced Search Interface
Advanced Search Interface
Search Functionality:Filter Components:
- Species dropdown with autocomplete
- Multi-select morph combinations
- Price range slider with currency formatting
- Geographic radius search with map
- Breeder verification and ratings
- Advanced availability status
Animal Profiles
Rich Animal Detail Pages
Rich Animal Detail Pages
Animal Detail Features:
- High-resolution image galleries with zoom
- Comprehensive lineage and pedigree trees
- Genetic trait breakdown and predictions
- Breeder information and contact options
- Similar animals and recommendations
- Social sharing and bookmarking
Performance Optimization
Core Web Vitals
Performance Targets
Performance Targets
Target Metrics:
- LCP (Largest Contentful Paint): < 1.8s
- FID (First Input Delay): < 50ms
- CLS (Cumulative Layout Shift): < 0.05
- TTFB (Time to First Byte): < 200ms
- Static generation for above-the-fold content
- Image optimization with priority loading
- Font preloading and optimization
- Critical CSS inlining
- Service worker for repeat visits
Image Optimization
Advanced Image Handling
Advanced Image Handling
Image Pipeline:Features:
- Automatic WebP/AVIF conversion
- Responsive image sizing
- Lazy loading with intersection observer
- Blur placeholder while loading
- CDN delivery with global edge caching
SEO & Marketing
Search Engine Optimization
SEO Implementation
SEO Implementation
Technical SEO:
- Dynamic sitemap generation for all public content
- Structured data for animals, breeders, and articles
- Canonical URLs and proper redirects
- Mobile-first responsive design
- Fast loading speeds and Core Web Vitals
Lead Generation
Conversion Optimization
Conversion Optimization
Lead Capture:
- Newsletter signup with genetic education content
- Animal inquiry forms with breeder matching
- Care guide downloads with email capture
- Breeder profile creation CTAs
- Pricing page with trial signup
Educational Content
Content Management
MDX-Based Content System
MDX-Based Content System
Content Structure:Content Processing:
Integration & Embeds
Widget System
Embeddable Components
Embeddable Components
Available Widgets:
- Animal profile cards for external sites
- Breeder showcase displays
- Care guide embeds
- Species information widgets
- Marketplace listing previews
Security & Privacy
Security Implementation
Security Measures
Security Measures
Content Security Policy:Input Sanitization:
Testing & Quality
Testing Strategy
Comprehensive Testing
Comprehensive Testing
Unit Testing:E2E Testing:
Monitoring & Analytics
Performance Monitoring
Monitoring Stack
Monitoring Stack
Core Metrics:
- Web Vitals: Real User Monitoring via Vercel Analytics
- Performance: Page load times and resource loading
- Business: Conversion funnels and user behavior
- Technical: API response times and error rates
Deployment & Infrastructure
Deployment Strategy
Production Deployment
Production Deployment
Docker Configuration:Environment Configuration:
web-public serves as the primary entry point for ReptiDex, focusing on performance, SEO, and conversion optimization to drive user acquisition and engagement.

