SupaNuggets is a collection of 50+ real-world, production-ready code examples for Next.js and Supabase. Each nugget is a self-contained, typed, feature you can use in your projects.
Sorry for missing the counter, but I wanted to release this special :)!
Much love today!
Btw I'm using name "Vercel function", but in reality it's NextJS API route
https://nextjs.org/docs/pages/building-your-application/routing/api-routes
I'm using this term because it's deployed as Vercel function.
00:00 Intro
00:03 Introduction
00:09 What will you learn
00:23 App demonstration
01:12 High level overview
02:50 Storage policy (headers)
03:38 Retriever code overview
04:09 Vercel Function to generate (NextJS)
04:57 E-mail sender function
05:19 Amazon SES (Simple Email Service)
05:40 Setup Amazon SES
06:36 Add DNS records
07:02 DNS record verified
07:12 Request Production Access
07:38 Overview After Production Access
07:58 Configuring new Identity
08:40 SMTP credentials
09:54 Configuring Custom E-Mail in Supabase
11:00 Set up rate limits!
11:29 Custom E-mail received
11:48 Bye bye
Get Access To the code: https://razikus.gumroad.com/l/supanuggets (Pay What You Want)
Love note tables
https://github.com/Razikus-Private/supanuggets-private/blob/main/supabase/migrations/20250207085445_lovenote.sql
https://github.com/Razikus-Private/supanuggets-private/blob/main/supabase/migrations/20250214121034_love_note_fix.sql
Love note bucket
https://github.com/Razikus-Private/supanuggets-private/blob/main/supabase/migrations/20250208132735_love_letter.sql
CronJob:
https://github.com/Razikus-Private/supanuggets-private/blob/main/supabase/migrations/20250209202316_cron_clean.sql
Love Letter Nugget:
https://github.com/Razikus-Private/supanuggets-private/blob/main/supanuggets/src/app/app/nuggets/love/page.tsx
Functions:
Generator: https://github.com/Razikus-Private/supanuggets-private/blob/main/supanuggets/src/app/api/love/route.ts
Sender: https://github.com/Razikus-Private/supanuggets-private/blob/main/supanuggets/src/app/api/love/send/route.ts
Renderer:
https://github.com/Razikus-Private/supanuggets-private/blob/main/supanuggets/src/app/love/%5Buid%5D/page.tsx
Client:
https://github.com/Razikus-Private/supanuggets-private/blob/main/supanuggets/src/lib/supabase/unified.ts#L229
https://github.com/Razikus-Private/supanuggets-private/blob/main/supanuggets/src/lib/supabase/unified.ts#L229
Tech Stack:
- Next.js 15 (App Router)
- Supabase
- TypeScript
- shadcn/ui
Check my free template:
https://github.com/Razikus/supabase-nextjs-template
Check my premium template:
https://razikus.gumroad.com/l/supatemplate
🔗 Connect & Support:
- Website: https://razikus.com
- GitHub: https://github.com/Razikus
- Discord: https://discord.gg/kwzg6eSfZD
- Get Access: https://razikus.gumroad.com/l/supanuggets (Pay What You Want)
💡 Perfect for:
- Developers building MVPs
- Teams needing quick, secure solutions
- Anyone learning Next.js + Supabase
- Production-ready feature implementations
Join our Discord community to:
- Get help with implementation
- Suggest new nuggets
- Stay updated on new releases
Support SupaNuggets:
Get early access development through our Gumroad page.
Pay what you want - all nuggets included!
#coding #nextjs #supabase #supanuggets #frontenddevelopment #code #javascript #programming