PostPipe offers a suite of modular CLI tools to help you scaffold authentication, appointments, forms, user management, and email utilities in seconds.
Based on your needs, you can install the Full Suite or pick Individual Modules.
For a complete, production-ready authentication system (Signup, Login, Sessions, DB, Email), run:
npx create-postpipe-authCurrently, our CLI tools are optimized for:
| Database | Status | Notes |
|---|---|---|
| MongoDB 🍃 | ✅ Fully Supported | Mongoose ODM integration included. |
| PostgreSQL 🐘 | 🚧 Coming Soon | Planned for future release. |
If you prefer to build piece-by-piece, use our specific modules:
| Feature | Command | Description |
|---|---|---|
| Appointment System 📅 | npx create-postpipe-appointment |
Scaffolds Appointment Model, Actions & API. |
| Form APIs 📝 | npx create-postpipe-form |
Interactive: Contact, Feedback, Newsletter forms. |
| User Model 👤 | npx create-postpipe-user |
Installs Mongoose User Model & DB Connector. |
| Email Util 📧 | npx create-postpipe-email |
Installs Resend Email Utility. |
| Signup Flow 🔐 | npx create-postpipe-signup |
Installs Backend + Signup Page implementation. |
| User Profile 👤 | npx create-postpipe-profile |
Installs Profile & Password Management pages. |
| Shop System 🛒 | npx create-postpipe-shop |
Scaffolds Cart, Wishlist, and Order features. |
This is the all-in-one solution. It scans your project structure and installs a fully functional authentication system.
What it installs:
- Backend:
src/lib/auth/containing Actions, Schemas, Email, User Model. - Frontend:
LoginPage,SignupPage,VerifyEmailPage,ResetPasswordPage. - Dependencies:
mongoose,zod,bcryptjs,jsonwebtoken,resend,postpipe.
Scaffolds a complete Appointment Booking System.
Files Created:
lib/models/Appointment.ts: Mongoose schema.lib/actions/appointment.ts: Server Actions for booking.app/api/appointment/route.ts: API Route handler.
Scaffolds robust Form Submission APIs. Now interactive!
Interactive Options:
- Contact Form: Standard contact API.
- Feedback Form: Feedback collection with ratings.
- Newsletter: Subscription logic.
Perfect if you just want a standard Mongoose User model without the full auth logic.
Files Created:
lib/models/User.ts: Complete Mongoose Schema with verification fields.lib/dbConnect.ts: Singleton Database connection helper.
Installs the email sending infrastructure powered by Resend.
Files Created:
lib/sendEmail.ts:sendVerificationEmailandsendPasswordResetEmailfunctions.
Scaffolds a complete "Sign Up" flow.
What it does:
- Installs the Backend infrastructure (User, DB, Email) required for signup.
- Creates a
SignupPage.tsxcomponent pre-wired to server actions.
Scaffolds a complete User Profile management system.
What it does:
- Backend: Installs
actions.tsfor updating profiles and changing passwords, and Zod schemas. - Frontend: Creates a premium
ProfilePage.tsxcomponent.
Features:
- Update Name & Email.
- Secure Password Change (verifies old password).
- Fetch User details.
Scaffolds a robust Shop Backend for E-commerce apps.
What it does:
- Backend: Installs Mongoose models (
Cart,Wishlist,Order) and API routes. - Actions: Creates
lib/actions/shop.tswith Server Actions (addToCart,removeFromCart, etc.) ready foruseActionState. - Database: Includes
dbConnect.tsfor database connection.
Features:
- 🛒 Shopping Cart: User-specific cart management.
- ❤️ Wishlist: Save favorite products.
- 📦 Orders: Order history and basic inventory tracking.
All tools require the following environment variables in your .env file:
# Database Connection
DATABASE_URI=mongodb+srv://...
# Security via JWT
JWT_SECRET=your_super_secret_key
# Email Sending (Resend.com)
# If omitted, emails will be logged to the console
RESEND_API_KEY=re_123456789
# App URL for Links
NEXT_PUBLIC_APP_URL=http://localhost:3000For issues, please visit our GitHub Repository.