{"repo":"hoangsonww/JWT-Module","free":true,"listed":false,"github":"https://github.com/hoangsonww/JWT-Module","clone":"git clone https://github.com/hoangsonww/JWT-Module.git","description":"A standalone JWT authentication service built with Express and TypeScript, providing the full auth lifecycle including registration, login, access/refresh token rotation, account management, and security features like rate limiting, account lockout, and bcrypt password hashing.","language":"TypeScript","stars":12,"topics":["azure-pipelines","bcrypt","docker","express","helmet","jest","json-web-token","jwt","jwt-auth","jwt-authentication"],"license":"MIT","category":"auth-billing-email","readme_excerpt":":lock: jwt-module A standalone JWT authentication module built with Express and TypeScript. --- Overview jwt-module is a self-contained authentication service providing user registration, login, JWT-based access/refresh tokens with rotation, and full account management through a REST API. It uses in-memory storage, making it ideal for development, prototyping, and learning. [!IMPORTANT] Note: All data is lost on restart. For production use, implement a persistent backing store behind the existing interfaces. --- Features - :bust in silhouette: User Registration -- email/password signup with duplicate detection - :key: Login -- credential verification with JWT token pair issuance - :arrows counterclockwise: Refresh Token Rotation -- old tokens revoked on every refresh, new pair issued - :shield: Account Lockout -- automatic lock after 5 failed login attempts (15 min cooldown) - :traffic light: Rate Limiting -- per-IP sliding window (20 requests / 15 min) on sensitive endpoints - :outbox tray: Logout / Logout All -- single-session and all-session token revocation - :lock: Change Password -- requires current password, revokes all sessions - :envelope: Update Email -- requires password confirmation, duplicate check - :wastebasket: Delete Account -- requires password confirmation, full cleanup - :mag: Get Profile -- returns user ID, email, and creation date - :white check mark: Health Check -- GET /health for uptime monitoring - :shield: Helmet -- security headers on all responses","default_branch":null,"files":null,"tree":[],"storefront":"/r/hoangsonww","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/hoangsonww/JWT-Module/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}