Code Snippets
Code I reference & revisitNext
<NextLink /> abstraction
Simplifying the use of next-link
Apollo server in Next.js API route
Dead-simple Apollo server using Next.js
Auth-guards in Next.js frontend
Redirecting if session or onboarding is needed
Next.js serverless CRUD
1 serverless function, multiple requests
Searchable, paginated data with Prisma & Next.js
A common use case with a simple API route
Tooling
Conventional commits
Set up conventional commit to create explicit commit history
Electron build & package
Packaging Electron for macOS
Favicons
Automatically generate favicons for your website
Maintenance mode in Vercel & Netlify
Workaround to set up a maintenance page, even if not supported
PostgreSQL & PgAdmin
Spinning off a PostgreSQL database with accompanying admin interface