JWT Auth in Node.js & Express: Access + Refresh Tokens
Add JWT auth to Node.js and Express the safe way: 15-minute access tokens, rotating refresh tokens in httpOnly cookies and a logout that works.
Badges come from GitHub once the author claims this feed.
Add JWT auth to Node.js and Express the safe way: 15-minute access tokens, rotating refresh tokens in httpOnly cookies and a logout that works.
Copy-paste tsconfig.json recipes for TypeScript 7: React + Vite 8, Next.js 16, Node 24 type stripping, npm libraries and monorepos.
How to use node:test in Node 24: describe/it, mocks, fake timers, module mocking, coverage thresholds, TypeScript and when Jest or Vitest is still the better pick.
Replace nodemon with node --watch and dotenv with --env-file in Node 24.