feat: integrated Clerk webhooks

This commit is contained in:
2023-12-10 21:58:30 -06:00
parent ede7449659
commit 09c1a48d18
9 changed files with 417 additions and 14 deletions

View File

@@ -6,6 +6,16 @@ A Duolingo alternative for language learners who seek a more personalized and ef
Built with [`create-t3-app`](https://create.t3.gg/).
## Development guide
### Clerk + Webhooks
1. Start the dev server with `npm run dev`
2. Request a tunnel with `npx lt --port 3000`
3. Copy the link from that command
4. Go to Clerk Dashboard > Webhooks > [end point]
5. Edit the endpoint URL to use the copied link + `/api/webhooks/your-route-name`
## TODO:
### Backend