r/webdev • u/Fine_Top_3670 • 14h ago
Showoff Saturday [Showoff Saturday] An interactive, animated SQL course where you watch every query run, built with React and no backend
SQL Bun teaches SQL by animating each query clause by clause. It all runs in your browser.
I wrote a small SQL engine in TypeScript that tracks what happens to every row at each step. React then turns that into the animation. You can see which rows each step keeps or removes, and how JOIN and GROUP BY change the table. My engine could get things wrong, so every answer is also checked against real SQLite. It's compiled to WebAssembly, so it runs in the browser too.
There's no backend. Your progress is saved in your browser.
I'd love feedback on the animations, and on how it runs on slow phones.