Skip to content

Releases: IamAshrafee/ModularAuth-Kit

v1.0.0 — Initial Release

22 Mar 05:52

Choose a tag to compare

Drop-in authentication module for Express.js + MongoDB + TypeScript. Copy one folder, configure, ship.

What's Included

  • 16 API endpoints — Register, login, logout, profile, password recovery, email verification, Google OAuth, login history, session management
  • All features opt-in — Everything disabled by default, enable what you need
  • 3 lines to integrate — Import, configure, mount
  • Security built-in — argon2id hashing, CSRF, rate limiting, Helmet, OWASP compliant
  • AI agent support — Paste one prompt and let AI wire it up

Quick Start

import { createConfig, createAuthModule } from './auth/index.js';
const config = createConfig({ session: { secure: false } });
app.use('/auth', createAuthModule(config));

### Tech Stack
Express 5.x · TypeScript 5.x · MongoDB + Mongoose 9 · argon2id · Zod · Helmet

📄 [Full documentation](https://github.com/IamAshrafee/ModularAuth-Kit/tree/main/docs)