Web Development

Build web apps and services with tested examples: HTTP, REST APIs, servers, routing, and templating across the Python and Groovy tutorials.

FastAPI Capstone: Build, Test, and Ship a Real API

This FastAPI project is the capstone for Part 3: one small but real Application Programming Interface (API) that you build, test, containerize, gate behind CI, and deploy to a public URL. It is a bookmarks service (sign up, log in, save links, list them with pagination), the kind of thing you could actually put your name on and hand to an interviewer. “Code without tests is broken as designed.” Jacob Kaplan-Moss, Django co-creator Last Updated: July 2026 | Tested on: ... Read More

FastAPI Authentication: OAuth2, JWT, and Sessions Done Right

FastAPI authentication is the part everyone needs and almost nobody explains from the ground up. This post builds a real login system step by step: you will hash passwords the right way, issue and verify JSON Web Tokens (JWTs), wire up an OAuth2 login flow with OAuth2PasswordBearer, protect routes with a shared get_current_user dependency, and add scopes and roles. Every block is tested and runnable. “Never roll your own crypto, and never store a password you could read back.” Last ... Read More

AI-Assisted Coding: Cursor, Claude Code, Copilot Workflow

Since late 2025, some companies hand you an AI assistant in the interview and grade how you drive it. That is how mainstream AI assisted coding has become: the typing is cheap now, and the judgment is the job. This post shows the loop that keeps you safe, spec first, small diffs, verify everything, by extending a real project and catching a planted bug. “Debugging is twice as hard as writing the code in the first place. So if you ... Read More