Grace Auth CLI

Project Overview
An open-source CLI that generates and configures production-oriented authentication and role-based access control for NestJS applications.
Problem
Implementing secure authentication correctly is repetitive and error-prone when every NestJS application starts from scratch.
Solution
Built an interactive TypeScript CLI that configures Better Auth, Prisma, authentication presets, and security features in new or existing NestJS projects.
My Responsibilities
- Designed the CLI architecture and interactive configuration flows.
- Implemented generators for Better Auth, Prisma, role-based access control, and Postman collections.
- Added project detection, setup auditing, and commands for two-factor authentication and OAuth providers.
Key Features
- Better Auth and Prisma project generation
- Role-based access control and super-admin setup
- Email verification, password reset, and two-factor authentication options
- OAuth provider configuration and project audits
Technology Stack
- TypeScript
- Node.js
- NestJS
- Better Auth
- Prisma
- Zod
- Commander
- Vitest