# Morele Proxy

Authorized reverse proxy for `https://www.morele.net/` with transparent cart/login
pass-through and AuroraPay redirect at checkout.

## Quick Start

```bash
cp .env.example .env
# edit DOMAIN, ORIGIN, DB secrets and AuroraPay credentials
docker compose up -d --build
```

## Important

- Verify `MORELE_CART_API_PATH` in Chrome DevTools before production use.
- Login/account/payment request bodies are not logged or stored.
- The native Morele cart is proxied; local Redis cart from the Sinsay project is not used.
- AuroraPay receives only the cart summary/items and amount needed to create a payment session.

## Local Development

```bash
npm install
npm run db:generate
npm run build
npm run dev
```
