Skip to content

Getting started

Terminal window
cp .env.example .env
docker compose up --build

The app is served on APP_DOMAIN (default production: momentiq.oddvar.me). For local testing, set APP_DOMAIN=localhost in .env.

  1. Open the Momentiq SPA and sign in with Auth0.
  2. Exchange the Auth0 id_token for a Momentiq session JWT via POST /api/auth/momentiq-token.
  3. Use /dashboard for questionnaire design and analysis.

The Python worker consumes RabbitMQ queues prefixed with momentiq.* (jobs, campaigns, responses, external analysis, callbacks). Configure secrets with MOMENTIQ_WORKER_SECRET.