WSB-Backend, component by component

Nineteen lessons, about 15 minutes each. Do them in order the first time; revisit any one when a ticket touches it.

Foundations

#LessonCovers
1Life of a requestKong, Deno.serve, CORS gates, router, handler, anon client, RLS
2Cron, Vault and pg_netScheduled jobs, post_to_edge_function, inspecting failures
3Auth tiersanon vs user JWT vs service_role, verify_jwt, config.toml auth
4Migrations and pgTAPHow schema changes travel to prod and how tests guard them
5The _shared moduleEvery helper every function leans on

Stocks

#LessonCovers
6Stocks public APIdetails, leaderboard, watchlist, price-history, logos, news, benchmark
7Stocks ingestionMassive polling, refresh jobs, backfills, hydrate/prune/retry
8Price history storagePartitions, retention tiers, rollups, midnight-ET bars
9SEC filings and financialsEDGAR polling, CIK map, insider transactions, income statements

Product surfaces

#LessonCovers
10Earningsearnings, earnings-cache, Quartr webhook and HMAC
11Brokerage and SnapTradeConnections, balances, positions, holdings, winrate
12Profiles and usersSignup trigger, avatars, moderation, search, watchlists, missions, deletion
13FeedFeed items and frontend integration
14News CMSadmin, api, public surfaces, featured images
15EmailAuth hook, Resend, React Email, waitlist welcome
16Internal utilitiesnotify-slack, fx, proxy, clickup-sprint-guard, submit-feedback

Engineering system

#LessonCovers
17TestingpgTAP, Deno tests, CI filter, legacy suite
18Local dev and deployconfig.toml, start/serve/reset, scripts, deployment
19Deno fundamentalsdeno.json, lockfile, specifiers, permissions, Node differences