create-postpipe-auth
v1.0.5
Published
CLI to scaffold PostPipe Authentication
Readme
Create PostPipe Auth
A powerful CLI tool to scaffold production-ready authentication for Next.js applications, powered by PostPipe.
Features
- ⚡ Instant Setup: One command to install everything.
- 🔒 Secure: Bcrypt hashing, JWT sessions (HTTP-only cookies), Zod validation.
- 📧 Email Ready: Built-in Resend integration for verification and password resets.
- 💾 Database Support: MongoDB (Mongoose) support out of the box.
- ⚛️ Next.js 15 Compatible: React 19 Actions & Async Cookies support.
Usage
Run this command in your Next.js project root:
npx create-postpipe-authFollow the interactive prompts to install MongoDB authentication.
What it does
- Determines your project structure (
src/vs root). - Creates
src/lib/authwith robust auth actions and utilities. - Installs necessary dependencies (
mongoose,jsonwebtoken,zod, etc.). - Configures your
.envfile. - Provides ready-to-use Frontend Templates for Login/Signup.
Links
- GitHub Repository: https://github.com/Sourodip-1/PostPipe-2.0
Credits
Created by Sourodip Roy.
License
CC-BY-NC-SA-4.0
