📚 Encyclopedia

Web Development · updated 2026-10-13

Zero-build web apps (vanilla JS, localStorage, single file)

vanilla-jses-moduleslocalstorageindexeddbprototypingpython-http-server

For a local, single-user tool or a quick prototype, plain HTML, CSS and JavaScript with no framework and no build step is often the best stack: it runs instantly, has nothing to install or upgrade, and can be handed to anyone as one file. Several of Justin's July 2026 builds used it (WTF idea tracker, The Big Top circus, Story dictation app, the target-poll game, Backyard Power walkthrough, AnimateStudio). This article collects what they taught.

When to choose it

Serving it

Persistence patterns

Swappable mock APIs

When the backend does not exist yet, put the API behind one module (api.js) exporting promise-returning functions (getOptions(), postVote(), getResults()). The mock version keeps state in memory, seeds non-zero data so charts are not empty, adds simulated latency (~150 ms), returns structuredCloned objects, and rejects invalid input like the real server would. Put the real fetch implementation beside each mock as a comment, so switching touches only that file.

Checking it without a browser

Small reusable ideas

See also

Linked from

Sources: wtf, circus, story, paycom-poll, backyard, animate project memories