Last Minute Notes

Backend

A beginner to advanced backend engineering library: HTTP and web fundamentals, Node.js and Spring Boot, API design, authentication and security, performance and caching, async processing and messaging, architecture and testing, deployment, and an interview question bank. Code was executed.

Start here for backend prep, from "what happens when a request hits the server" to "how do I make a consumer idempotent" and "why did my transaction not roll back". The examples use Node.js and Java, the two stacks most common in interviews, and the ideas transfer to Python, Go and .NET. Runnable snippets on these pages were executed, and facts that changed recently (Node.js 24 LTS with native TypeScript, Spring Boot 4, OWASP Top 10:2025, OAuth 2.1 and passkeys) are included where they matter.

  1. 01
    Backend Fundamentals

    Beginner backend engineering: the life of an HTTP request, methods, status codes, headers, cookies and CORS, a runnable HTTP server, layered application structure, configuration and the twelve-factor app, data access, validation and errors, logging, and concurrency models.

  2. 02
    Node.js and Spring Boot

    The two most common backend stacks: the Node.js runtime, event loop, worker threads and frameworks (Express, Fastify, NestJS), and Java Spring Boot 4 with dependency injection, MVC, JPA, @Transactional pitfalls and virtual threads. Runnable demos included.

  3. 03
    API Design

    Designing HTTP APIs that last: REST resource modeling, status codes, idempotency keys, conditional requests, cursor pagination, versioning, RFC 9457 problem details, long-running operations, GraphQL and DataLoader, gRPC, and webhooks with signatures. Runnable demos included.

  4. 04
    Authentication and Security

    Backend security from beginner to advanced: sessions vs tokens, password hashing, JWT pitfalls, OAuth 2.0 and 2.1 with PKCE, OIDC, MFA with TOTP and passkeys, authorization models, and the OWASP Top 10:2025 with concrete defenses. Runnable demos included.

  5. 05
    Performance and Caching

    Backend performance: measure first, profile, find where time goes, HTTP caching with ETag and 304, application caches with single-flight stampede protection, DataLoader batching, concurrency limits, database access, payload size, Node and JVM tuning, and load testing. Demos executed.

  6. 06
    Async Processing and Messaging

    Background work and messaging for backend engineers: when to go async, job queues, retries with backoff, idempotent consumers, dead-letter queues, the transactional outbox, event schemas, scheduling, webhooks delivery, and durable workflows. Runnable queue and outbox demos.

  7. 07
    Architecture and Testing

    Backend architecture and testing: layered, hexagonal and clean architecture with a runnable Java example, DDD essentials, cross-cutting concerns, the testing pyramid, test doubles, Testcontainers, contract tests, and a runnable Node test-runner example with mocks.

  8. 08
    Deployment and Runtime

    Getting a backend into production and keeping it healthy: Docker images, docker compose, Kubernetes essentials, probes and graceful shutdown (with a runnable demo), configuration and secrets, CI/CD pipelines, serverless, infrastructure as code, and runtime observability.

  9. 09
    Backend Interview Playbook

    Backend interview preparation: what each level is graded on, a 60-question bank with pointers, a worked REST API design exercise, coding round tasks mapped to runnable examples, a production debugging flowchart, cheat sheets, common mistakes, and study plans.

Reading Path

Pick Your Level

You areRead in this order
New to backendFundamentals, Node.js and Spring, API Design
Preparing for a mid-level loopAdd Authentication and Security, Performance and Caching, Architecture and Testing
Preparing for senior or staffAdd Async Processing, Deployment, and the System Design section
One week leftThe Interview Playbook study plan
  • Databases covers the data layer: SQL, indexes, transactions, replication.
  • System Design takes these building blocks to architecture scale.
  • JavaScript and TypeScript for the language, Java for concurrency and the JVM.
  • SDLC for CI/CD and delivery process, OOPS for design principles.

On this page