😴 tl;dr
or, the “ain’t nobody got time for this” part.
🤘 so, you want to build a web app.
😴 tl;dr
- see definition of: recursive.
💪 you can do this.
- you will be constantly learning and failing. it’s cool. so is everyone around you.
- working well with others is more important than your work.
- approach your work with principle. find your “why” and the “what” and “how” will follow.
- dig deep under the surface to find out how things actually work.
- probably all this will change in 5 years, get used to it!
🛠️ tools of the trade
- hardware: Mac
- security: 2fa, 1Password, Signal, uBlock Origin, Arc, YubiKey, encrypt your hard drive
- software: chrome (maybe Arc, Ladybird), VirtualBox + VMs, iTerm2 (Fig, Warp), Homebrew, zsh + oh-my-zsh, Night Shift, Dropbox, Postico / Sequel Pro, ⌘-Shift-[3|4|5], NewKap
- editors: Cursor, VSCode, Sublime, vim
⌨️ how-to linux
- absolute basics:
cd,ls,rm,mv,vim - shortcuts: [ctrl] + [a|e|c|k|z]
- intermediate:
|,history,grep(ripgrep),cat,less,man,find(fd),df,du(dust),sudo,tail,touch,alias,sh,exit - processes:
&,>,top,ps,kill,killall,which,locate,fg - network:
curl,whois,traceroute,ping,lsof,scp - handy commands: SSH key generation, handling archives, replacing en masse, permissions, JSON parsing, shell script checks,
zx
- absolute basics:
📟 the server
💿 db
🤝 workflow & collaboration
- repository: git, GitHub, signing, npm, npm-check-updates, .gitattributes, git secrets, turborepo or nx
- collaboration:
- with yourself: reduce email, maker time, headphones, hide
- with others: Kind Engineering, Egoless Engineering, Slack, Dropbox Paper, Linear, GitHub issue tracker, tldraw
- consistency: Google code reviews, Airbnb JS Style Guide, Airbnb CSS Style Guide, Airbnb CSS in JavaScript, Google JS, Google JS coding conventions, Google CSS, ESLint, Prettier (+ import sorting), Semantic Versioning
- documentation: Docusaurus, Read the Docs
- website: GitHub Pages
- support: Buy me a coffee, Patreon, Open Collective
- newbies: commit code the first day!
- a word on open source: Open Source Guides, 6 motivations
- healthy contribution: overview, changelog.md, code_of_conduct.md, contributors.md, license.md, readme.md, CODEOWNERS, ISSUE_TEMPLATE, PULL_REQUEST_TEMPLATE, contributing.md, acknowledgements.md, authors.md, support.md
- continuous integration / continuous deployment (CI/CD): Github Actions, Travis CI, Danger JS
- staging / canary servers: dogfood before prod does.
☕ javascript
- JS for newbies: MDN, Concise TypeScript Book, CodeSandbox, CodePen,
bun’s REPL, RunKit, npm sandboxing - developer tools: Chrome DevTools
- react + (meta) friends: React, JSX
- bhvr: Bun, Hono, Vite, React
- all-the-things: axe, Auth.js (Clerk), source-map-explorer, Base UI, CSP nonce, error boundary, error pages, error reporting, humans.txt / robots.txt, Jest, react-intl, Open Graph, OpenSearch, prisma, perf, Oxlint + Oxfmt, JSON-LD
- Documentation: changelog, code of conduct, code owners, contributing, contributors, issue template, license, pull request template, readme, support
- security: escaping user data, data validation, bcrypt, reCAPTCHA, npm exact versions, subresource integrity
- libraries of interest
- resources: MDN, Can I use…?, Stack Overflow, Google Developers, A Recap of Frontend Development in 2018, How it feels to learn JavaScript in 2016, State of JS, The Melting Pot of JavaScript, React Patterns, Smart and Dumb Components, Mixins Are Dead. Long Live Composition, Claude, +🤝 resources and meetups
- JS for newbies: MDN, Concise TypeScript Book, CodeSandbox, CodePen,
🎨 cascading stylesheets
- CSS for newbies: MDN guide, CodeSandbox, CodePen, CSS Zen Garden
- defining colors, a minor note:
oklch - beyond CSS: CSS Modules and CSS-in-JS: CSS Modules (guide), Farewell CSS, CSS in JS, A Unified Styling Language, emotion, vanilla-extract, StyleX, and more CSS-in-JS packages
- anti-Tailwind: an opinionated takedown.
- setup: PostCSS, browserslist, sanitize.css
- preprocessors: Sass
- looking ahead: CSS-Tricks, cssdb, New features for 2025
- resources: CSS-Tricks, Can I use…?, Can I email…?, MDN reference, Stack Overflow, Google Developers, State of CSS, CSS Zen Garden, Learn CSS
⚛️ ui
- patterns of consistency and simplicity: KISS and sweat the details
- styleguide: Storybook (Chromatic), React Styleguidist
- accessibility (a11y): Google’s guide, Chrome DevTools reference, aXe, Google’s Accessibility Developer Tools, VoiceOver Utility
- internationalization (i18n): react-intl, logical properties
- responsiveness: avoid fixed widths, fluid layouts, font sizes, image/icon responsiveness, device toolbar
- web components: Custom Elements,
<template>, Shadow DOM, ES modules - toolkits and widgets: MUI, Base UI, Radix, Magic UI
- typography: Google Fonts, system font stack
- iconography: MUI Icons, Radix Icons, Nerd Fonts, Doodle Ipsum, unDraw
- animation/visualization: react-spring, Animate.css, Motion, flipping, react-scroll-parallax, bsmnt, visx, gradient generator, shadow generator, Easing Wizard, Victory, React Graph Gallery
- tools for designers: Figma, Sketch (Airbnb’s React Sketch), Framer, Adobe Creative Cloud, InVision, VisBug, Color Palette Pro, Laws of UX
- ux research: UX Collective
- resources: Apple’s Human Interface Guidelines, Basics of UX, Responsive Web Design Basics, UI Movement, JS & CSS Widget of the Week, WebComponents.org (Polymer Project), Laws of UX
🕸️ the website
- HTML: MDN (HTML reference), semantic, HTML5, (no) validation
- metadata: icons (favicon, apple-touch-icon), JSON-LD, rich previews (Open Graph, Twitter Cards, oEmbed), mobile, OpenSearch
- error pages and fallbacks:
<noscript>, 404, 401, 500 - humans and bots: humans.txt, robots.txt
- auth layer: AuthJS, Clerk, Passport
- experiments framework
- admin mode
- data liberation
- resources: MDN (HTML reference), HTML5
🐛 debugging
- Chrome DevTools:
$0,$, breakpoints, logpoints, device toolbar, network throttling, user agent spoofing, workspaces - React DevTools
- node:
--inspect - tracking errors: exception handling, error boundaries, logging, Sentry
- post-mortems
- resources: Chrome DevTools
- Chrome DevTools:
🗜️ performance
- intro: poor performance is a bug.
- speed at load: bundling, async/defer, HTTP2, placeholders, Progressive Web App, PRPL, fonts
- images: below the fold, image format, placeholders, sprites, optimized images, predetermined size, loading
- HTML: preload, prefetch, preconnect, loading, importance
- backend: HTTP Caching, static files, gzip, in-memory key-value store, Save-Data
- server-side rendering: Google Developers on SSR
- speed at runtime:
- JS: code splitting, React.lazy + Suspense, dynamically loading modules, minification, tree shaking, throttle/debounce events, scrolling speed, requestAnimationFrame, requestIdleCallback, React.PureComponent / React.memo
- CSS:
*selector, descendant/child selectors, transform: translateZ(0), contain, will-change
- usage analytics: clicks, navigation patterns, user agent, location
- tools at your disposal: source-map-explorer, DevTools Performance, Lighthouse, Web Vitals, React Scan, ImageOptim, Workbox, Chrome User Experience Report, User Timing API, Webpagetest, Posthog, Google Search Console, PageSpeed Insights, Datadog, imgix, BundlePhobia
- resources: Google Developers on Performance (Web Performance Made Easy), CodeLab on Network, CodeLab on Runtime, CodeLab on webpack, Google Developers on SSR, Frontend Performance Checklist
🃏 testing
- intro: write your damn tests.
- testing framework: Jest, Vitest, Testing Library, coveralls (codecov),
about:inspect - canary server
- browser automation: Playwright, cypress
- screenshot testing: the white whale: just don’t do it.
- others: jest-dom, Chrome DevTools MCP, Appium, Sauce Labs
- resources: Jest reference (Jest matchers), Overview of testing in 2018
🔮 the future
- climatetech: 🌳 Climatetech Landscape 2023💻
- everything old is new again: htmx, hotwire, remix
- ai/ml: Cursor, Claude and Claude Code, GitHub Copilot, Torment Nexus, skills.sh, WebMCP
- decentralization: Fediverse, IndieWeb, MIT’s report, Twitter’s Ecosystem review
📚 resources and meetups
- references: Mozilla Developer Network, Stack Overflow, //grep.app, Can I use…?, Can I email…?, State of Interop, WHATWG, W3C, devhints.io
- inspiration: Bret Victor, The Great Divide (ooooops I guess we’re* full-stack developers now, The Widening Responsibility for Front-End Developers), These things I believe, The Pragmatic Engineer, CSS Zen Garden, Indie Hackers, The Melting Pot of JavaScript, Don’t Learn to Code, Feudalism of the web, How to Become a Hacker, Hackers and Painters, Happiness Takes (A Little) Magic, Irrational Exuberence (StaffEng), Kalzumeus, Nolan Lawson, A Smart Bear, Choose Boring Technology, The .club Club
- tutorials: Google Developers, Hacker Noon, Dive into HTML5, MIT CompSci, freeCodeCamp, gitconnected
- news: Cooperpress, Chromium Blog, The Console Log, Hacker News, TechCrunch
- surveys: State of JS, State of CSS, State of HTML, State of React, State of GraphQL, Jetbrains' State of Developer Ecosystem Report, Stack Overflow Developer Survey, Frontend Masters Front End Developer/Engineer Handbook
- books: The Effective Engineer, Getting Real, Team Geek, Software Engineering: The Soft Parts, Managing Humans, Turn the Ship Around!, Microserfs, Enshittification, Throwing Rocks at the Google Bus, Flavio Copes books
- career growth: Kind Engineering, Egoless Engineering, Medium's Engineering Growth Framework, and more.
- conferences: XOXO, JSConf, ReactConf, React Rally, city-specific React conferences
- how-to interview: CodePen, CoderPad, CodeSandbox, Preparing for a Front-End Web Development Interview, Questions to ask a potential tech employer, levels.fyi
- references to this guide: Grab’s Frontend Guide, Developer Roadmap, Best of JS, Frontend Checklist, Web Almanac, Robin Wieruch, Periodic Table of Web APIs
- fun stuff: xkcd, Classic Programmer Paintings, CommitStrip, Hacker Typer, 8-bit Color Cycling, Katamari Hack, How it feels to learn JavaScript in 2016, Security Talk, Website Security, The Birth and Death of Javascript, I finally escaped Node, What Color is Your Function?, js1k
📟 appendix: setting up a self-hosted server
- initialization: DigitalOcean, LEMP, add domain, email (optionally), add user
- setup: MySQL update, nginx, swapfile
- securing: Let’s Encrypt, HTTP/2, HSTS, X-XSS-Protection, X-Content-Type-Options, Referrer-Policy, CSP, HttpOnly/Secure, SameSite
- node.js: setup and PM2, deno
- sv/runit: for non-node.js setups
- WordPress: for you poor saps still maintaining your family’s random blogs…
- resources: Observatory, xip.io