Skip to content

Latest commit

 

History

History
189 lines (139 loc) · 6.63 KB

File metadata and controls

189 lines (139 loc) · 6.63 KB

Avent Properties - Complete Project Documentation

Welcome to the comprehensive documentation for Avent Properties, a premium coastal properties platform in Uruguay designed for Dubai investors and high-net-worth individuals.

🎯 Project Overview

Avent Properties is a modern, luxury real estate platform targeting High Net Worth Individuals (HNWIs) from Dubai/UAE for premium properties in Uruguay's most exclusive coastal destinations.

Key Features

  • Property Listings: Browse and filter luxury properties with advanced search
  • Tour Reservations: Book premium tours with 10% deposit system
  • Multi-Role Access: Client, Agency, and Admin dashboards
  • GraphQL API: Apollo Server + Supabase SDK integration
  • Modern UI: Glassmorphism design with gold accents
  • Responsive Design: Mobile-first approach

🏗️ Architecture Overview

Technology Stack

  • Frontend: Next.js 15 + TypeScript + React 19
  • Styling: TailwindCSS + shadcn/ui + Radix UI
  • Backend: Supabase (PostgreSQL + Auth + Storage)
  • API: Apollo Server + Supabase SDK
  • State Management: Redux Toolkit + React Query
  • Forms: React Hook Form + Zod validation
  • Testing: Jest + React Testing Library + Playwright
  • Deployment: Vercel (MVP) → AWS (future)

GraphQL Architecture

Our GraphQL implementation uses Apollo Server + Supabase SDK that provides:

  • Direct Database Access: Supabase SDK for efficient data operations
  • Type Safety: Full TypeScript support with generated Supabase types
  • Performance: Optimized queries with efficient joins
  • Maintainability: Clean, standard Apollo patterns
  • Scalability: Easy to extend with new resolvers

📚 Documentation Structure

Core Documentation

  • docs/index.mdYou are here - Complete project overview
  • docs/status/progress.yaml - Current project status and progress
  • docs/status/technical-debt.md - Technical debt tracking and known issues
  • docs/architecture/overview.md - Detailed technical architecture
  • docs/guides/setup.md - Development environment setup

Business Documentation

  • docs/business/PRODUCT_OWNER_GUIDE.md - Business requirements and roadmap
  • docs/business/SALES_TEAM_GUIDE.md - Sales strategy and market positioning

Implementation Guides

  • docs/guides/apollo-supabase-core.md - Apollo Server + Supabase SDK integration
  • docs/guides/implementation-checklist.md - Quick implementation steps
  • docs/guides/shadcn-ui.md - Complete shadcn/ui integration strategy, examples, and best practices

🚀 Getting Started

For Developers

  1. Setup: Follow docs/guides/setup.md
  2. Architecture: Review docs/architecture/overview.md
  3. GraphQL: Study docs/guides/apollo_supabase_integration.md
  4. UI Components: Implement docs/guides/shadcn-ui.md

For Business Stakeholders

  1. Overview: Read docs/business/PRODUCT_OWNER_GUIDE.md
  2. Status: Check docs/status/progress.yaml
  3. Roadmap: Review business requirements and milestones

📊 Current Project Status

✅ Completed Features

  • MVP Core: Property listings, user authentication, basic UI
  • GraphQL API: Apollo Server + Supabase SDK integration
  • Testing Suite: Comprehensive test coverage
  • Documentation: AI-friendly documentation structure
  • MCP Integration: AI development assistance operational
  • Codebase Cleanup: Legacy dependencies removed, architecture optimized

🔄 Current Priorities

  • Tour Reservation System: 10% deposit booking with tour scheduling
  • Payment Integration: Stripe integration for deposits
  • Email Notifications: Automated booking confirmations
  • Calendar Management: Tour scheduling and availability

📈 Success Metrics

  • Performance: <200ms GraphQL query response times
  • Type Safety: 100% TypeScript coverage
  • Test Coverage: >80% code coverage
  • Documentation: Single source of truth maintained

🔧 Development Workflow

Code Standards

  • TypeScript: Strict mode enabled
  • Testing: Jest + React Testing Library
  • Linting: ESLint with strict rules
  • Formatting: Prettier configuration

Quality Gates

  • Pre-commit: Lint, format, type-check
  • Pre-push: Full test suite
  • CI/CD: Automated testing and deployment

🌟 Key Benefits of Current Architecture

Aspect Benefit
Performance Direct database access via Supabase SDK
Type Safety Full TypeScript support with generated types
Maintainability Standard Apollo patterns, clean code
Scalability Easy to extend with new resolvers
Testing Comprehensive test coverage

🚀 Quick Start Commands

# Development
yarn dev              # Start development server
yarn build            # Build for production
yarn start            # Start production server

# Testing
yarn test             # Run unit tests
yarn test:watch       # Run tests in watch mode
yarn test:coverage    # Run tests with coverage

# Code Quality
yarn lint             # Run ESLint
yarn type-check       # TypeScript type checking

# GraphQL Testing
yarn test __tests__/graphql/  # Test GraphQL resolvers

🤖 AI Development Assistance

MCP Integration

We use Model Context Protocol (MCP) to enhance AI development assistance with comprehensive project context.

MCP Servers Configured:

  • avent-docs - Access to all documentation
  • avent-ai - AI context and instructions
  • avent-standards - Coding standards and patterns
  • avent-root - Overall project structure

📞 Getting Help

For Technical Issues

  1. Check the setup guide
  2. Review architecture documentation
  3. Run tests to identify issues: yarn test

For Business Questions

  1. Review product owner guide
  2. Check current status
  3. Contact project stakeholders

🎯 Next Steps

  1. Review this documentation to understand the project
  2. Set up your development environment using the setup guide
  3. Explore the GraphQL implementation with the integration guide
  4. Contribute to the project following our standards

Welcome to Avent Properties! 🏖️

Built with ❤️ for luxury real estate in Uruguay