Search
Lessons (40)
- Go Web Services with Gin
Build a production-shaped HTTP API in Go: net/http basics, Gin routes and groups, binding and validating …
- Domains, Load Balancers and HTTPS
Follow a browser request from a domain name to healthy app copies, with AWS-managed HTTPS certificates. The …
- Nginx Reverse Proxy & HTTPS
… It listens on the public ports 80 (HTTP) and 443 (HTTPS) , handles the encryption, and forwards each request …
- How a Web Request Works
Follow one click from the browser to the server and back, through DNS, TCP, TLS, HTTP, load balancers …
- AI Architect Reference: Decisions, Glossary, Resources and Career
… Zero to Hero, Andrej Karpathy](https://karpathy.ai/zero-to-hero.html) Backprop, tokenizer, GPT from scratch 2 …
- Frontend Security
… URLs <a href={user.website} Website</a // user.website = "javascript:steal()" // ✅ Allow only http(s) const safeUrl = /^https …
- SSH, Networking & Firewalls
… 22 SSH, 80 HTTP, 443 HTTPS. Bind apps and databases to 127.0.0.1 . - Debug outside-in …
- Deploy a Node.js App to a VPS, Step by Step
… You'll go from a brand-new server with only a root password to https://example.com serving …
- REST vs GraphQL vs gRPC
… resources over HTTP http GET /users/42 GET /users/42/posts?limit=3 GET /users/42/followers/count …
- Serverless: Lambda and API Gateway
Run small event-driven code without managing servers, expose it through an HTTP API, and handle retries safely …
- Services and Ingress: Let Traffic Find Your App
… An Ingress routes HTTP/HTTPS traffic from outside the cluster to a Service. ![Ingress routes outside HTTP traffic …
- Observability: Logs, Metrics & Traces
… prom-client"; const httpDuration = new client.Histogram({ name: "http request duration seconds", help: "HTTP request latency", labelNames: ["method …
- C4 Architecture Diagrams: Context, Container, Component and Code
… The controller turns the HTTP request into a call to Checkout service . 3. The checkout service coordinates the …
- Backend Languages: Node.js, Go, Python & Rust
… one thread + event loop"] EL(("🔁 event loop")) -- IO1[DB call → wait in background] EL -- IO2[HTTP call → wait …
- NestJS Core Concepts
… every feature is a module , HTTP lives in controllers , business logic in providers , and a built-in dependency …
- EC2, Storage and Auto Scaling
… Once startup completes, browse to http://INSTANCE PUBLIC IP . This is a temporary HTTP learning example. For a …
- Frontend Testing Strategy
… 49.99 }]), ), http.post("/api/cart", () = new HttpResponse(null, { status: 201 })), ]; tsx it("lists products from the API …
- Jenkins: From Install to Your First Pipeline
… Open http://your-server:8080 (or your HTTPS domain). 2. Get the one-time admin password: bash Docker …
- Python Web APIs: FastAPI and Django
… raise HTTPException(status code=404, detail="Task not found") return tasks[task id] @app.post("/tasks", response model …
- CloudFront: Faster Websites and Safer File Delivery
… Redirect HTTP viewers to HTTPS and allow only needed methods. 6. Wait for deployment and open the distribution …
- Scaling, Load Balancing & Rate Limiting
… Very fast, doesn't read HTTP. - L7 (application): reads HTTP, so it can route /api/ to API servers …
- REST API Design
… nouns in the URL, verbs in the HTTP method](/img/backend/rest-resources.svg) Rule 1: URLs are …
- Clean Architecture in Depth
… translate between the world and the core ts // src/adapters/http/placeOrderController.ts — HTTP → use case → HTTP export …
- VPC Networking Without the Confusion
… Further reading: [VPC subnets](https://docs.aws.amazon.com/vpc/latest/userguide/configure-subnets.html), [security groups](https …
- Practical Lab: S3 File Upload and CloudFront Delivery with NestJS
… It must fail: bash curl -I https://$BUCKET.s3.$REGION.amazonaws.com/uploads/hello.txt HTTP/1.1 …
- Cluster Networking, DNS and NetworkPolicies
… From another, use http://shop-api.prod . Pods get a resolv.conf with ndots:5 , meaning names with …
- Node.js and Express
… Apply load, for example npx autocannon -c 50 -d 30 http://localhost:3000/api/orders . 5. Click the …
- GitOps, Progressive Delivery and Observability
… https://github.com/example/platform.git targetRevision: main path: apps/shop-api/overlays/prod destination: server: https://kubernetes …
- API Gateway, BFF & Service Discovery
… you call http://orders-svc , and the platform routes to a healthy pod. (See Kubernetes → Services & Ingress .) Service …
- Imports, Moved Blocks, and Safe Refactoring
… Further reading: [Import overview](https://developer.hashicorp.com/terraform/language/import), [module refactoring](https://developer.hashicorp.com/terraform …
- Hexagonal Architecture (Ports & Adapters)
… the ways in ts // adapters/driving/http.ts — REST export function loanRoutes(app: Express, borrowing: ForBorrowingBooks) { app.post …
- Proxies, APIs and Real-Time Protocols
… it's what HTTP/3 uses. It runs on top of UDP but adds its own reliability, so …
- Python Fundamentals
… only one thread runs Python bytecode at a time. Work type Best tool Why --- --- --- I/O-bound (HTTP …
- AWS Interview Questions: Clear Answers
… Review references: [RDS availability](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.MultiAZSingleStandby.html), [SQS processing](https …
- DevOps and the Path from Code to Server
… https://example.com" DNS[🌐 DNS] DNS -- FW[🔥 Firewall<br/ ports 22, 80, 443] FW -- NG[Nginx<br/ HTTPS …
- Microkernel (Plugin) Architecture
… MarkdownPlugin = { name: "external-links", version: "1.2.0", afterRender: (html) = html.replace(/<a href="http/g, '<a target …
- Authentication, Authorization & API Security
… Set-Cookie sid=abc (HttpOnly, Secure, SameSite=Lax) B- S: GET /orders (Cookie: sid=abc) S- R: who …
- Monitoring, Logs & Backups
… firewall it, or bind to localhost) sudo apt install -y prometheus-node-exporter curl -s http://127.0 …
- Frontend Performance & Core Web Vitals
… Guessing leads to useMemo everywhere and no real gain. Caching and network - HTTP caching: Cache-Control: public, max …
- Releases, Observability and Production Safety
… The dashboard shows HTTP success at 99.9% , because the double payment still returns "200 OK." 5. The …