// Notes
Things I'm learning.
How I optimize images before shipping a website
A few image decisions can remove megabytes from a page without making it look worse.
Before deploying a website, check these 10 things
A small pre-deployment checklist catches many problems before users find them for you.
How I handle API errors in the frontend
Not every failed request means the same thing, so the UI shouldn't treat every error the same way.
What I learned building with Docker
Containerization finally clicked when I stopped treating images like VMs and started thinking in layers.
A practical authentication flow for a web app
Authentication is more than hiding pages. The server still has to decide what every user is allowed to do.
Development vs production without the confusion
The same code, two very different contracts. Knowing which differences are real saves you at 2am.
Why localhost stops working inside Docker
Inside a container, localhost usually means the container itself — not another service.
What should actually go on-chain?
Not everything needs a blockchain. The useful question is what must be verifiable by strangers.
Docker Compose makes local setup reproducible
Instead of giving teammates a page of setup instructions, describe the services your project needs.
Docker volumes: why my database data disappeared
Containers are replaceable. Database data usually shouldn't be.
Ports in Docker without the confusion
The two numbers in a Docker port mapping represent two different sides of the connection.