Demo App

NextMQ MVP

Queue a welcome email with @nextmq/sdk, process it through the signed webhook route, and inspect the result on the server.

Scenarios

Basic queue

curl -X POST http://localhost:3000/api/send-welcome \
  -H 'content-type: application/json' \
  -d '{"email":"demo@example.com"}'

Delayed job

curl -X POST http://localhost:3000/api/send-reminder \
  -H 'content-type: application/json' \
  -d '{"email":"later@example.com","delayMs":5000}'

Retry + progress

curl -X POST http://localhost:3000/api/run-report \
  -H 'content-type: application/json' \
  -d '{"name":"sales","failUntilAttempt":1}'

FlowProducer pipeline

curl -X POST http://localhost:3000/api/run-pipeline \
  -H 'content-type: application/json' \
  -d '{"source":"s3://bucket/input.csv","recipient":"ops@example.com"}'