mirror of
https://github.com/Rohithgilla12/data-peek
synced 2026-05-06 02:28:24 +00:00
- Use Dodo Payments SDK's unwrap() method for signature verification - Extract proper Standard Webhooks headers (webhook-id, webhook-signature, webhook-timestamp) - Add idempotency handling using webhook-id to prevent duplicate processing - Remove custom HMAC verification in favor of SDK-based approach 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| drizzle | ||
| public | ||
| src | ||
| .gitignore | ||
| drizzle.config.ts | ||
| eslint.config.mjs | ||
| next.config.ts | ||
| package.json | ||
| postcss.config.mjs | ||
| README.md | ||
| tsconfig.json | ||
data-peek Web
Marketing website and licensing portal for data-peek.
Tech Stack
- Next.js 16 (App Router)
- Tailwind CSS 4
- Clerk (Authentication)
- Drizzle ORM + PostgreSQL
- DodoPayments (Payments)
- Resend (Emails)
Development
# From the root directory
pnpm dev:web
# Or from this directory
pnpm dev
Open http://localhost:3000 to view the site.
Environment Variables
Copy .env.example to .env.local and fill in the values:
cp .env.example .env.local
Required variables:
DATABASE_URL- PostgreSQL connection stringCLERK_SECRET_KEY- Clerk authenticationNEXT_PUBLIC_CLERK_PUBLISHABLE_KEY- Clerk public keyDODO_API_KEY- DodoPayments API keyDODO_WEBHOOK_SECRET- DodoPayments webhook secretRESEND_API_KEY- Resend email API key
Deployment
The web app is designed to be deployed on Vercel.