How MDPoll is built

MDPoll is a Markdown-based survey tool: authors write a survey as a Markdown file, respondents fill it out as a plain web form, and admins get a dashboard with AI-generated summaries of what came back. Here's how the pieces fit together.

Serverless by default

There is no server to patch and no database to back up. The whole app runs on API Gateway, Lambda, S3, and CloudFront. Survey definitions and responses are stored as objects, not rows — which keeps the system simple to reason about and cheap to run at low, bursty traffic.

API Gateway + Lambda

Stateless request handlers for survey authoring, response submission, and admin reads.

S3

Source of truth for survey Markdown, submitted responses, and generated summaries.

CloudFront

Serves the static frontend and fronts the API, giving every environment a single origin.

No database

Object storage plus narrow, well-defined access patterns removes an entire operational surface.

AI-generated insights, fact-checked

The admin dashboard asks Claude, running on AWS Bedrock, to summarize a survey's open-ended responses — themes, representative quotes, and a plain-language rollup. The risk with any LLM summary is a quote or claim that sounds right but isn't actually in the data.

MDPoll treats that as a correctness problem, not a prompting problem: every quote the model attributes to a respondent is checked server-side against the actual stored responses before it's shown. If a "quote" doesn't match real data, it's dropped rather than displayed. The model drafts; the backend verifies.

Cross-environment analytics

Usage events (survey views, submissions, admin actions) are emitted to EventBridge and rolled up into CloudWatch metrics and dashboards that span every deployed environment. That gives one place to see how a survey is performing in staging versus production without stitching logs together by hand.

CI/CD: GitHub Actions + OIDC

Deploys run entirely through GitHub Actions. There are no long-lived AWS access keys stored anywhere — each workflow run exchanges a short-lived OIDC token for a scoped IAM role via GitHub's native OpenID Connect provider, assumes that role, and deploys. A compromised secret simply isn't a risk here, because there isn't one sitting around to compromise.

Infrastructure as code

The entire stack — API Gateway routes, Lambda functions, S3 buckets, CloudFront distributions, IAM roles, EventBridge rules — is defined in AWS CDK (TypeScript). Standing up a new environment, or tearing one down, is a CDK deploy, not a runbook.

Try the live demo →