Next.js 13 Forum with Clerk, Drizzle ORM, Vercel Edge functions & webhooks.
Ribbit is a Reddit-inspired forum application built with Next.js 13, Drizzle ORM and Clerk.
The goal for this project is to learn and use all new features from Next 13, coming from Next 12.
I set up authentication with Clerk, while also having my database's own user table by consuming their webhooks.
Whenever a user is created, updated or deleted, a webhook is sent to /app/api/webhooks/user/route.ts
, and we update the info in the project's Planetscale database.