finds.dev← search

// the find

WebDevSimplified/parity-deals-clone

★ 593 · TypeScript · MIT · updated Oct 2025

A tutorial clone of Parity Deals — a SaaS that serves country-based pricing banners so indie developers can charge less in lower-income countries. Built by WebDevSimplified as a course project using Next.js App Router, Drizzle ORM, Clerk auth, Stripe, and Neon Postgres. The target audience is developers following along with the YouTube course, not people shipping this to production.

The tech stack is well-chosen and modern: Drizzle with a single migration file keeps the schema simple and readable. Server Actions for mutations is the right call here — no separate API layer for dashboard operations. The permission model in `src/server/permissions.ts` and `HasPermission` component shows someone thought about tier-gating before bolting it on. Environment variable validation via `src/data/env/client.ts` and `server.ts` catches misconfiguration at startup rather than at runtime.

The README is the stock `create-next-app` template — zero project-specific setup instructions, no mention of required environment variables, no database migration step. Someone cloning this without the course video is essentially on their own. The schema has a single migration (`0000_left_agent_zero.sql`), which is fine for a tutorial but means any schema change after cloning breaks silently. The banner endpoint at `/api/products/[productId]/banner` is the core user-facing feature and there are no tests anywhere in the repo. It's also tightly coupled to Clerk for auth, so swapping identity providers would require touching a lot of files.

View on GitHub →

// want more like this?

We dig through GitHub every week and send a few repos picked for what you actually care about — each with an honest take like this one.

Get finds in your inbox → Search again →