Skip to content

Latest commit

Β 

History

History
137 lines (100 loc) Β· 3.53 KB

File metadata and controls

137 lines (100 loc) Β· 3.53 KB

Avent Properties - Luxury Real Estate Platform

A premium coastal properties platform in Uruguay, designed for Dubai investors and high-net-worth individuals.

πŸš€ Features

  • Property Listings: Curated luxury properties with detailed information
  • Virtual Tours: Interactive property exploration
  • Reservation System: 10% deposit booking with tour scheduling
  • GraphQL API: Apollo Server + Supabase SDK integration
  • Authentication: JWT-based with role-based access control
  • Responsive Design: Mobile-first approach with modern UI

πŸ—οΈ Architecture

  • 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)

πŸš€ Quick Start

  1. Clone the repository

    git clone <repository-url>
    cd avent-properties
  2. Install dependencies

    yarn install
  3. Set up environment variables

    cp .env.example .env.local
    # Fill in your Supabase credentials
  4. Run the development server

    yarn dev
  5. Open your browser Navigate to http://localhost:3000

πŸ“š Documentation

πŸ§ͺ Testing

# Run all tests
yarn test

# Run tests in watch mode
yarn test:watch

# Run tests with coverage
yarn test:coverage

# Run specific test files
yarn test __tests__/graphql/

πŸš€ Development

# Type checking
yarn type-check

# Linting
yarn lint

# Build
yarn build

# Start production server
yarn start

🌟 Key Benefits

  • Efficient Database Access: Supabase SDK for optimized queries
  • 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

πŸ”§ GraphQL Endpoint

Access your GraphQL API at /api/graphql with:

  • Schema: Comprehensive property and reservation types
  • Resolvers: Supabase SDK integration
  • Authentication: JWT-based with role-based access
  • Business Logic: Comprehensive validation and rules

πŸ“Š Current Status

  • MVP Features: βœ… COMPLETED - Core functionality operational
  • GraphQL API: βœ… COMPLETED - Apollo Server + Supabase SDK integration
  • MCP Integration: βœ… COMPLETED - AI development assistance operational
  • Testing Suite: βœ… COMPLETED - Comprehensive test coverage
  • Documentation: βœ… COMPLETED - AI-friendly documentation structure

🎯 Next Milestone

Tour Reservation System with 10% Deposit

  • Property tour scheduling
  • Deposit payment integration
  • Email notifications
  • Calendar management

🀝 Contributing

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Add tests
  5. Submit a pull request

πŸ“„ License

This project is proprietary software. All rights reserved.


Built with ❀️ for luxury real estate in Uruguay