CLI Tool: create-auth-js-boiler – Full Auth.js Setup in Seconds #12948
Mohamed-gp
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Goals
3 . Provide a beautiful, customizable base with support for modern frameworks.
Non-Goals
Background
As a huge fan of NextAuth.js and its flexibility, I often found myself repeating the same steps to integrate authentication into my projects.
I wanted a quicker, cleaner way to get started, so I created a CLI that sets up a fully featured authentication system — including Google login, 2FA, dashboards, etc.
I created this tool with Next.js 15, React 19, and Server Components. It comes with:
Google OAuth
2FA
User CRUD
Admin/Moderator Dashboards
Password Reset
Settings UI
And more!
It's not intended to replace NextAuth.js, but to simplify integrating it and other auth features into new projects.
Proposal
I’m sharing this tool with the community under the name create-auth-js-boiler.
🔧 Try it with:
npm create auth-js-boiler@latest
🔗 GitHub: https://github.com/Mohamed-gp/auth-js-boiler
🌐 Website: https://auth-js-boiler.vercel.app/
There’s also a demo video in the README of the GitHub repository, showing how the tool works and how you can get started quickly.
I’d love feedback, suggestions, or contributions. Let me know what you think — I plan to actively maintain it.
Thanks to the Auth.js team and community for creating such a fantastic library! 🙌
Beta Was this translation helpful? Give feedback.
All reactions