DEV Community

Mehek
Mehek

Posted on

Tired of writing the same auth code in every Express app?

I just published express-authx a plug-and-play middleware for:

  1. JWT & refresh token management
  2. Route protection with req.user
  3. Role-based access control (RBAC)
  4. Session support (Redis or in-memory)
  5. Built-in CLI (no need for Postman!)

Feedback & stars welcome! 💜

Top comments (0)