A ready-to-use login service for web apps: sign-up, login, password reset, email verification and user roles (admin and customer).
Security built in:
• Login tokens live in httpOnly cookies, so scripts on the page cannot read them.
• The session token is replaced on every use. If an old one is reused (a sign it was stolen), that session is ended.
• Rate limits, account lockout after repeated failures, and no hints about which emails have accounts.
• 104 tests, most of them against a real PostgreSQL database.
A small React demo (in the cover image) shows every API call and its result.
Stack: TypeScript, Node.js, Express, PostgreSQL, React, Docker.
Personal project, not client work.

0 likes · 0 views · Dec 4, 2026
Login service for web apps: sign-up, roles, password reset and sessions that can be revoked. 104 tests on real PostgreSQL.