> ## Documentation Index
> Fetch the complete documentation index at: https://ratemyrentalco.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# ADR: Canonical web stack

> Accepted decision: RateMyRental / Harbor targets Next.js App Router, Supabase, and Tailwind in pebl-studio/ratemyrental-web.

## Status

Accepted — 2026-12-01

## Context

Harbor design-to-code needs one app target. The [architecture overview](https://ratemyrentalco.com/docs/architecture/overview.md) already describes Next.js, Supabase, and Harbor. Other checkouts used React Router or Prisma scaffolds, which risked building against the wrong repo.

## Decision

Canonical web stack for RateMyRental / Harbor:

| Layer | Choice |
| - | - |
| App framework | Next.js (App Router) |
| Backend / data | Supabase (Auth, Postgres, Storage, RLS) |
| Styling | Tailwind CSS |
| Intended app repo | [`pebl-studio/ratemyrental-web`](https://github.com/pebl-studio/ratemyrental-web) |

React Router and Prisma scaffolds are **non-canonical**.

## Consequences

* New feature and Harbor implementation work targets `ratemyrental-web` only
* Design-to-code, schema, and RLS assumptions follow Next.js + Supabase patterns (Server Actions / route handlers, Zod, RLS)—not Prisma or client-router scaffolds
* Treat React Router / Prisma checkouts as experiments or legacy. Retire or rebase them later as a separate task. Do not delete remotes as part of locking this decision

## Related

* [Tech stack](https://ratemyrentalco.com/docs/architecture/tech-stack.md)
* [Repos](https://ratemyrentalco.com/docs/architecture/repos.md)
* [ADR: Harbor is the sole UI system](https://ratemyrentalco.com/docs/architecture/adr-harbor-ui-system.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.