# API and Route Map

## Public

- `GET /`
- `GET /categories`
- `GET /services`
- `GET /listings`
- `GET /listings/:id`
- `GET /signup`
- `POST /signup`
- `GET /login`
- `POST /login`

## Buyer

- `GET /buyer`
- `GET /buyer/inquiries`
- `GET /buyer/messages`
- `GET /buyer/saved`
- `GET /buyer/samples`
- `GET /buyer/profile`
- `POST /buyer/profile`
- `GET /buyer/deals`
- `POST /listings/:id/save`
- `POST /listings/:id/inquiries`
- `GET /inquiries/:id`
- `POST /inquiries/:id/messages`
- `POST /inquiries/:id/status`

## Seller

- `GET /seller`
- `GET /seller/listings`
- `GET /seller/listings/new`
- `POST /seller/listings`
- `GET /seller/inquiries`
- `GET /seller/messages`
- `GET /seller/documents`
- `POST /seller/documents`
- `GET /seller/profile`
- `POST /seller/profile`
- `GET /seller/deals`

## Admin

- `GET /admin`
- `GET /admin/users`
- `POST /admin/users/:id/status`
- `GET /admin/listings`
- `POST /admin/listings/:id/status`
- `GET /admin/documents`
- `POST /admin/documents/:id/status`
- `GET /admin/messages`
- `GET /admin/flags`
- `POST /admin/flags/:id/review`
- `GET /admin/deals`
- `POST /admin/deals/:id/status`
- `POST /admin/deals/:id/commercials`
- `POST /admin/deals/:id/release`
- `GET /admin/providers`
- `POST /admin/providers`
- `POST /deals/:id/providers`

## Planned Stripe API Layer

- `POST /api/payments/deals/:id/checkout-session`
- `POST /api/webhooks/stripe`
- `POST /api/payouts/:dealId/release`
- `POST /api/stripe/connect/onboard`

