close

DEV Community

Anamika Bajpai
Anamika Bajpai

Posted on

How I built a white-label community platform on AWS Aurora DSQL for #H0Hackathon

I built CommuniQ for the AWS H0 Hackathon — a white-label community platform
powered by Aurora DSQL, the new serverless distributed SQL database from AWS.

The Problem

Platforms like Circle.so charge $300+/month with no AWS-native option.
I wanted to build something that runs entirely on AWS infrastructure.

What I Built

CommuniQ lets any brand launch their own community (like a white-label Discord/Circle.so)
with full multi-tenant isolation. Each community gets its own URL slug, spaces,
threaded posts, and member management.

Why Aurora DSQL

  • Active-active multi-region writes (us-east-1)
  • Zero cluster management — fully serverless
  • IAM token auth via DsqlSigner — no static passwords stored ever
  • Strong consistency across regions

Technical Stack

  • Next.js 16 + NextAuth v5 (beta)
  • Prisma 7 with @prisma/adapter-pg (Driver Adapter pattern)
  • AWS Aurora DSQL as the primary database
  • Deployed on Vercel

Key Code Pattern


typescript
const signer = new DsqlSigner({ hostname: DSQL_HOST, region: "us-east-1" });
const token = await signer.getDbConnectAdminAuthToken();
// token used as PostgreSQL password — rotates automatically

Live Demo
Try it: https://communiq-self.vercel.app

I created this article for the purposes of entering the AWS H0 Hackathon.

#H0Hackathon #Vercel #AuroraSQL #Nextjs #AWSHackathon
Enter fullscreen mode Exit fullscreen mode

Top comments (0)