# Myristica

Myristica is a rental-management app for Arcos 1836 plus a WhatsApp bot used to query debt, register payments, OCR receipts, export CSVs, and send rendered table images.

## Repository layout

- `src/` - Next.js admin app and WhatsApp webhook logic
- `bridge/` - tracked Oracle VM WhatsApp bridge source (`wa-bridge`)

## App development

```bash
npm install
npm run dev
```

The web app runs locally on `http://localhost:3000`.

Useful commands:

```bash
npm run build
npm run lint
```

## WhatsApp bridge

The live Baileys bridge that runs on the Oracle VM is now mirrored in `bridge/` so GitHub reflects the real bot stack too.

See `bridge/README.md` for:

- environment variables
- install/run steps
- systemd deployment example
- supported endpoints

## Production

- Web app: Vercel
- Database: Supabase Postgres
- WhatsApp bridge + media hosting: Oracle VM
