Beginner guides.
No background assumed. What a database, a domain or an environment variable actually is, and how to get an app you built with AI online and keep it there.
511 posts · page 7 of 21
Resend vs SendGrid vs Postmark: Which Email API for Your App?
Three popular ways to send transactional email — sign-up confirmations, password resets, receipts — from your app. How Resend, SendGrid and Postmark compare on developer experience, deliverability, free tiers (SendGrid dropped its free plan), and when Amazon SES makes sense.
requirements.txt Explained: Python Dependencies for Beginners
requirements.txt lists the Python packages a project needs so anyone can install them with one command. How to create and install it, pinning versions, pip freeze vs writing it by hand, dev requirements, and when to use pyproject.toml with uv or Poetry instead.
Render vs Railway vs Fly.io: Which Platform for Your App?
Three popular platforms for deploying full-stack apps with databases. How Render, Railway and Fly.io differ in deployment model, databases, free tiers, pricing style, regions and learning curve — and which kind of app suits each.
"fatal: refusing to merge unrelated histories": How to Fix It
Git refuses to merge two branches that share no common commit — usually because you created a repo locally and another on GitHub with a README. Why it happens, the --allow-unrelated-histories fix, resolving the resulting conflicts, and how to avoid it.
React vs Vue vs Svelte: Which Frontend Framework Should You Learn?
Three popular ways to build interactive web interfaces. How they differ in syntax, size, learning curve, ecosystem and jobs — and why, if you build with AI tools, the answer is usually React even when another option is nicer.
React useState Explained: How State Actually Works
useState gives a component memory that survives re-renders and updates the screen when it changes. How it works, why the value doesn't change immediately after you set it, updating objects and arrays without mutating them, and the functional update form.
React useEffect Explained: When to Use It (and When Not To)
useEffect runs code after React renders, to sync your component with something outside React — a timer, a subscription, a browser API. How the dependency array works, cleanup functions, why effects run twice in development, and the many cases where you don't need an effect at all.
"Each Child in a List Should Have a Unique Key Prop": What It Means
React's key warning appears when you render a list without telling React which item is which. Why keys matter, why array index is a bad key for lists that change, what to use instead, and how to fix the warning in fragments and nested maps.
React "Too Many Re-renders" and "Maximum Update Depth Exceeded": Fixes
Both errors mean a component keeps updating state, which re-renders it, which updates state again — forever. The four patterns that cause it (calling a handler instead of passing it, setState during render, effects without dependencies, objects in dependency arrays) and their fixes.
React Props Explained: Passing Data Between Components
Props are how a React component receives data from its parent — like arguments to a function. How to pass and read them, destructuring and defaults, passing functions and children, props vs state, and the common mistakes that cause bugs.
Query Parameters Explained: The ?key=value Part of a URL
Query parameters are the key=value pairs after the ? in a URL, used for search, filters, sorting and pagination. How they're written and encoded, reading them in JavaScript, Express and Next.js, query vs path parameters, and what never to put in them.
Python "ModuleNotFoundError: No module named ...": How to Fix It
Python can't find a module you imported. Usually the package isn't installed in the environment you're running, you installed it into a different Python, the package name differs from the import name, or it's your own module and the path is wrong. How to check and fix each.
How to Publish an App on the App Store and Google Play
What it takes to get a mobile app into Apple's App Store and Google Play: developer accounts and fees, building with Xcode, Expo or Capacitor, store listings, privacy labels, review guidelines, Google's closed-testing requirement for new accounts, and the common reasons apps get rejected.
TypeScript "Property Does Not Exist on Type": Causes and Fixes
TypeScript says the property you're reading isn't part of the type. The common causes — a typo or hallucinated field, a missing field in your type, union types that need narrowing, unknown/{} types, window and process.env, DOM elements typed too broadly, and catch errors — with proper fixes.
The Principle of Least Privilege, Explained for App Builders
Give every user, service, key and AI agent only the access it needs — nothing more. What least privilege means, and practical examples for databases, API keys, cloud accounts, servers, team members and AI coding agents, so one mistake or breach can't take everything down.
Postgres "ERROR: relation does not exist": Causes and Fixes
Postgres can't find the table you named. The usual causes — migrations not run, connected to the wrong database, uppercase names and double quotes, the table is in a different schema, or permissions — and how to check each with psql.
Postgres "password authentication failed for user": How to Fix It
Postgres rejected the username or password your app sent. The real causes — wrong password in the connection string, special characters not URL-encoded, a Docker volume that kept an old password, the wrong user or host, pg_hba.conf rules — and how to reset the password safely.
Playwright MCP: Let Claude Code Use a Real Browser
The Playwright MCP server lets AI tools open pages, click, type and read a live browser through accessibility snapshots instead of screenshots. How to add it to Claude Code, useful prompts for testing and debugging, key options like headless and isolated, and its limits.
pip "error: externally-managed-environment": What It Means and How to Fix It
Newer Linux distributions and Homebrew stop pip from installing packages into the system Python, to protect the operating system. Why it happens, and the right fixes: a virtual environment, uv, or pipx for tools — and why --break-system-packages is a last resort.
"Command Not Found": The PATH Variable Explained
"command not found" or "is not recognized as an internal or external command" usually means the program is installed but your terminal doesn't know where to look. How PATH works on Mac, Linux and Windows, how to check it, and how to add a folder permanently.
What Are Passkeys? Passwordless Login Explained
Passkeys replace passwords with a key pair stored on your device and unlocked with your fingerprint, face or PIN. How they work, why they can't be phished or leaked from a database, syncing across devices, and what adding passkey login to your own app involves.
Pair Programming With AI: How to Work With an AI as Your Partner
Pair programming means two people on one problem — a driver and a navigator. With AI, you can take either role. When to let the AI drive and when to drive yourself, a workflow that keeps you in control, prompts for each role, and the habits that make you better, not lazier.
What Is package-lock.json? (And Should You Commit It?)
package.json says which versions your app accepts; package-lock.json records exactly which versions were installed. Why the lock file exists, why you should commit it, npm install vs npm ci, fixing merge conflicts in it, and the equivalent files for pnpm, Yarn and Bun.
OpenAI API vs Claude API: Which Should Your App Use?
Both APIs let your app send text (and images) to a model and get an answer back. How they differ in request shape, models, tool calling, structured output, caching and pricing — and why many apps keep the choice swappable instead of picking forever.