Skip to main content

Padding Tutorials

What do you want to build?

52 tutorials

All tutorials

  • How to Build a REST API with FastAPI

    You will build a small items API with FastAPI 0.163 on Python 3.15 that validates its input, returns the right HTTP status codes, never shows a stack trace to callers, documents itself, and has automated tests.

    Beginner · 22 min · APIs

  • How to Build a REST API with Express 5

    You will build a small items API with Express 5.3 on Node.js 26 that validates its input, returns the right HTTP status codes, never sends a stack trace to callers, and has automated tests that use only Node's built-in test runner.

    Beginner · 22 min · APIs

  • How to Split Documents into Chunks for a RAG App

    You will write a Python chunker with no dependencies that splits Markdown help pages at their headings and sentences into overlapping pieces, saves them with their source and heading, and checks that no text was lost and no piece is too long.

    Beginner · 18 min · AI and machine learning

  • How to Call a Large Language Model API from Python

    You will store an API key safely, install Anthropic's Python SDK 2.8.0, send Claude Sonnet 5.5 a first request, give it instructions and a conversation history, handle the errors an API call can raise, and work out what each call costs.

    Beginner · 18 min · AI and machine learning