TrueSpec
All Specs

Explore the Hub

100 specs found
Intermediate

Next.js Google OAuth Login

Complete Google OAuth flow with NextAuth.js, token handling, session management

Auth & Identity
Beginner

Supabase Email/Password Auth

Sign up, sign in, password reset, and protected routes with Supabase Auth

Auth & Identity
Intermediate

JWT Authentication in Express.js

Access/refresh token pattern with middleware guards and secure cookie storage

Auth & Identity
Beginner

Firebase Auth with React

Google/GitHub sign-in, onAuthStateChanged listener, and route protection

Auth & Identity
Beginner

Clerk Auth in Next.js App Router

Drop-in auth with Clerk, middleware protection, and user metadata

Auth & Identity
Intermediate

Passwordless Magic Link Auth

Email magic link flow with Resend and custom token verification

Auth & Identity
Intermediate

GitHub OAuth with FastAPI

OAuth2 Authorization Code flow with token exchange and user profile fetch

Auth & Identity
Advanced

Role-Based Access Control (RBAC)

Role/permission system with middleware, database schema, and route guards

Auth & Identity
Advanced

Add 2FA/TOTP to Any App

TOTP with otplib, QR code generation, and backup codes

Auth & Identity
Intermediate

Secure Session Management with Redis

Express sessions with Redis store, expiration, and fingerprinting

Auth & Identity
Beginner

Prisma + PostgreSQL Full Setup

Schema design, migrations, seeding, CRUD operations, and relations

Database & ORM
Intermediate

Drizzle ORM with SQLite

Type-safe queries, schema push, migrations, and joins

Database & ORM
Beginner

MongoDB CRUD with Mongoose

Schema validation, virtuals, populate, indexes, and aggregation

Database & ORM
Intermediate

Supabase Row-Level Security

RLS policies for user-scoped data, admin bypass, and testing

Database & ORM
Intermediate

Redis Caching for API Responses

Cache-aside pattern, TTL, invalidation, and cache stampede prevention

Database & ORM
Advanced

Safe Database Migrations

Zero-downtime migration patterns, rollback strategies, and data backfills

Database & ORM
Intermediate

Full-Text Search in PostgreSQL

tsvector, tsquery, ranking, trigram similarity, and search indexing

Database & ORM
Beginner

SQLite for Desktop/Local Apps

better-sqlite3 setup, WAL mode, concurrent access, and performance tuning

Database & ORM
Advanced

Connection Pooling Done Right

PgBouncer, Prisma pool, Supabase pooler, and pool sizing formula

Database & ORM
Intermediate

TypeORM with NestJS

Entity setup, repositories, migrations, relations, and query builder

Database & ORM
Intermediate

Production-Ready REST API (Express)

Error handling, Zod validation, rate limiting, CORS, and structured logging

API & Backend
Intermediate

GraphQL API with Apollo Server

Schema, resolvers, context, dataloaders, and error handling

API & Backend
Intermediate

tRPC End-to-End Type Safety

tRPC router, procedures, React Query integration, and error handling

API & Backend
Advanced

Secure Webhook Handler

Signature verification, idempotency, retry handling, and queue processing

API & Backend
Intermediate

API Rate Limiting Strategies

Token bucket, sliding window, Redis-backed, and per-user limits

API & Backend
Intermediate

File Upload to S3/R2

Presigned URLs, multipart upload, progress tracking, and file validation

API & Backend
Intermediate

Background Jobs with BullMQ

Queue setup, workers, retries, job scheduling, and monitoring dashboard

API & Backend
Beginner

API Versioning Patterns

URL versioning, header versioning, and migration guides for clients

API & Backend
Intermediate

Real-Time Updates with SSE

EventSource API, reconnection, broadcasting, and Express/Fastify SSE

API & Backend
Intermediate

WebSocket Chat with Socket.io

Rooms, namespaces, auth middleware, reconnection, and scaling

API & Backend
Beginner

React Form Validation (React Hook Form + Zod)

Type-safe forms, custom validators, error display, and submission handling

Frontend Patterns
Intermediate

Next.js Server Actions Guide

Form mutations, revalidation, optimistic updates, and error handling

Frontend Patterns