srs-api/.env.example
Aswin Biju f18779e182 feat(whatsapp): take orders end to end, from first forward to Save
Wire the order parser to the WhatsApp bot. A known user forwards an order, ends it with Done, picks a shop, confirms a summary and the order is saved.
2026-11-03 17:29:44 +05:30

19 lines
518 B
Plaintext

PORT=8080
HOST=127.0.0.1
DB_PATH=./data/srs.db
# Shared secret between the Hermes plugin and srs-api (header: x-srs-secret). Min 16 chars.
# Generate one with: node -e "console.log(require('crypto').randomBytes(32).toString('hex'))"
SRS_SECRET=change-me-to-a-long-random-string
JWT_SECRET=change-me-to-another-long-random-string
# Hermes WhatsApp bridge (local only)
BRIDGE_URL=http://127.0.0.1:3000
DEFAULT_COUNTRY_CODE=91
ORDER_CUTOFF=15:00
ORDER_ASK_UNTIL=15:30
ORDER_REMIND_MINUTES=10
ORDER_EXPIRE_MINUTES=30