Portal Technical Guide
Source review: e30dd9b47, 2026-11-02. See Coverage for evidence
and the limits of this edition.
Audience: Frontend Developers
Overview
Portal is a Next.js frontend application that provides property search websites for real estate professionals. The frontend never calls the Repliers MLS API directly: it talks to a proxy backend (NEXT_PUBLIC_API_URL), which forwards requests to the Repliers API. It supports multiple client deployments through a multi-tenant architecture.
Tech Stack
| Category | Technology |
|---|---|
| Framework | Next.js 16 (App Router) |
| Language | TypeScript |
| UI Library | MUI v7 (Material UI) |
| Styling | Emotion (CSS-in-JS) |
| Maps | Mapbox GL, Mapbox GL Draw |
| Forms | React Hook Form + Joi validation |
| i18n | next-intl |
| State | React Context (Providers) |
| Node | Frontend engines: 24.x or 26.x |
| Package Manager | Root pnpm 12.6.0; frontend package pin 10.34.4 |
Key Concepts
| Concept | Description |
|---|---|
| Multi-tenant | One codebase serves multiple branded client sites |
| Override Pattern | Tenant-specific files override defaults |
| Providers | React Context for global state management |
| API Services | Modules for Repliers API communication |
| Feature Flags | Toggle features per tenant |
Quick Links
For a complete transaction, start with F01–F12 Workflows. For an ownership question, use Rendering, Data Ownership, Route Handlers, Caching, SEO, Forms or Failures.
| Topic | Description |
|---|---|
| Architecture | Monorepo structure, components, routes |
| Multi-tenant | Override pattern, path aliases |
| Content Management | CMS clients, MDX, fallback system |
| State Management | Providers, hooks, context |
| API Services | Repliers API, data flow |
| Data Models | Types, transformers |
| Development | Setup, commands, env vars |
| Reference | Statuses, types, flags |
Architecture at a Glance
┌─────────────────────────────────────────────────────────────┐
│ PORTAL │
│ (Next.js App) │
├─────────────────────────────────────────────────────────────┤
│ Components │ Providers │ Services │ Configs │
└──────────────┴─────────────┴────────────┴───────────────────┘
│
▼
┌─────────────────────────────────────────────────────────────┐
│ PROXY BACKEND │
│ (NEXT_PUBLIC_API_URL) │
├─────────────────────────────────────────────────────────────┤
│ Forwards frontend requests to the Repliers API │
└─────────────────────────────────────────────────────────────┘
│
▼
┌─────────────────────────────────────────────────────────────┐
│ REPLIERS API │
├─────────────────────────────────────────────────────────────┤
│ Listings │ Users │ Favorites │ Estimates │ Search │
└────────────┴─────────┴─────────────┴─────────────┴──────────┘
│
▼
┌─────────────────────────────────────────────────────────────┐
│ MLS DATA │
│ (NWMLS, TRREB, CREB, etc.) │
└─────────────────────────────────────────────────────────────┘Related Documentation
- Product Guide - Features, user flows, business context
- Glossary - Real estate terminology
Last updated on