API Gateway Complete Guide
Master API gateways: what they are, how they work, routing, authentication, rate limiting, request aggregation, circuit breaking, and practical setup with Kong, AWS API Gateway, and Spring Cloud Gateway.
All posts tagged with "backend"
Master API gateways: what they are, how they work, routing, authentication, rate limiting, request aggregation, circuit breaking, and practical setup with Kong, AWS API Gateway, and Spring Cloud Gateway.
Master reverse proxies: forward vs reverse proxy, how they work, SSL termination, caching, load balancing, security benefits, WebSocket support, and practical setup with Nginx, Traefik, and Caddy for production deployments.
Connect your Express.js API to PostgreSQL with Prisma ORM. Covers schema design, migrations, type-safe CRUD, transactions, connection pooling, seeding, and testing database code — building on the task API from the previous post.
Understand Cross-Origin Resource Sharing (CORS) from the ground up. Learn how browsers enforce the same-origin policy, how preflight requests work, and how to configure CORS correctly in Node.js, Express, FastAPI, Spring Boot, and Go.
Compare three modern TypeScript ORMs side by side: Prisma, TypeORM, and Drizzle. Learn their architectures, query patterns, migration strategies, performance characteristics, and when to use each with practical examples.
Master API versioning strategies and HATEOAS in Spring Boot. Learn URI, header, and content negotiation versioning, build self-discoverable REST APIs with Spring HATEOAS, and implement production-ready hypermedia-driven endpoints.
Master Go's error handling philosophy: sentinel errors, custom error types, error wrapping with fmt.Errorf and errors.As/Is, and building production-ready error handling patterns that keep code clean and debuggable.
A comprehensive guide to choosing software architecture: decision frameworks, trade-off analysis, CAP theorem, architecture decision records (ADRs), evolutionary architecture, combining patterns, anti-patterns like resume-driven development, case studies from startup to enterprise, and an architecture review checklist.
A comprehensive guide to data source patterns from Martin Fowler's PoEAA: Active Record for simple domains, Data Mapper for complex domains, Table Data Gateway and Row Data Gateway for explicit data access. Includes code examples in TypeScript and Java.
Master Go's concurrency model with goroutines, channels, select, and sync primitives. Learn context for cancellation, testing with go test, and build a REST API with net/http — completing the Go learning roadmap.