Tag: REST API
9 posts
-
Koa.js APIs: Context, Onion-Model Middleware, Routing, Auth and File Uploads
Building Node.js APIs with Koa: the context object, async onion-model middleware, routing, a REST API example, authentication, file uploads, database access and validation.
-
FastAPI in Production: Pydantic v2, async vs sync Endpoints, Dependency Injection and JWT
A practical FastAPI guide covering Pydantic v2 validation, async vs sync endpoint choice, dependency injection for testability, JWT auth, and the production gotchas each pattern glosses over.
-
TypeScript REST API Project | Express & Layered Architecture
A TypeScript REST API tutorial covering Express, tsconfig, DTOs with Omit/Partial, a router/controller/service/database layering pattern, a consistent ApiResponse envelope, and curl examples for user CRUD.
-
Flask Basics | Get Started with the Python Web Framework
Start with Flask: routes, Jinja2 templates, forms, JSON APIs, sessions, SQLAlchemy and Blueprints, then deploy with Gunicorn and Docker and compare with FastAPI.
-
Python REST APIs | Build API Servers with Flask and Django
Design RESTful APIs in Python: HTTP verbs, resource URLs, Flask CRUD examples, Django REST Framework, JWT auth, error handling, and production-minded tips.
-
Express.js for REST APIs: Routing, Middleware Order, Error Handling and What Changed in Express 5
Build REST APIs with Express: how the middleware chain runs, routers, validation, centralized error handling, Express 5 changes (async errors, path syntax), and production settings.
-
HTTP in Practice: Methods, Status Codes, Caching, HTTPS and What HTTP/2 and HTTP/3 Change
HTTP requests and responses, methods and status codes, HTTP/2 multiplexing and HTTP/3 over QUIC, HTTPS, caching, and REST API design—2026 practical guide.
-
An Express-Style REST API Server in C++: Router, Middleware Chain, JWT Auth and Validation
Build Express-style REST API servers in C++: routing with path parameters, middleware chain (logging, CORS, auth), JSON request/response, JWT.
-
C++ JSON Parsing: nlohmann/json, RapidJSON, and Custom Types
Parse REST APIs and config files in C++ safely: nlohmann/json vs RapidJSON, contains/value/at, to_json/from_json, parse_error and type_error.