Documentation
Local documentation for the Questionnaire multi-tenant content and ad monetization platform.
Local-only documentation
Documentation
Welcome to Questionnaire Platform docs. Use this site to understand flows, ads, tracking, and architecture — for developers, QA, and project managers.
Search the docs⌘K
PMs start at User Flows
Explore
Getting Started
StartInstall, seed MongoDB, run the main app and docs locally.
Open →
Architecture
Multi-tenant proxy, request lifecycle, data models, theme system.
Open →
User Flows
PM-friendly journey charts for category, themes, and articles.
Open →
Ads
Ad types, KV waterfall, theme timing, rewarded lifecycle, AdSense.
Open →
Tracking
Pixels, Consent Mode v2, session heartbeats, and GTM setup.
Open →
Development
API routes, shared hooks, components, and coding rules.
Open →
Quick start
# Terminal 1 — main app
npm run dev
# Terminal 2 — docs (localhost only)
npm run docs:devOpen http://localhost:3001/docs.
Who should read what?
| Role | Path |
|---|---|
| Project managers | User Flows → Ads → Tracking |
| Developers | Architecture → Development |
| QA | User Flows → QA Test Plan |