Getting Started with Shipd: Build Your SaaS in Days, Not Months
Learn how Shipd helps you launch your SaaS product faster with production-ready templates and modular architecture.
Getting Started with Shipd
Building a SaaS product from scratch can take months. Shipd changes that by providing production-ready templates with everything you need to launch quickly.
What is Shipd?
Shipd is a modular SaaS scaffold that helps developers build and ship SaaS products faster. Instead of spending weeks setting up authentication, payments, and infrastructure, you can have a production-ready application in minutes.
Key Features
- š Authentication - Ready-to-use auth with Better Auth
- š³ Payments - Integrated payment processing with Polar.sh
- š Dashboard - Pre-built admin dashboard
- šØ UI Components - Beautiful components with Tailwind CSS
- š Documentation - Comprehensive docs and guides
- š CLI Tool - Simple command-line interface
Quick Start
Getting started with Shipd is as simple as running one command:
npx shipd init my-saas-app
This interactive CLI will guide you through:
- Choosing your project name
- Selecting features to include
- Configuring your environment
- Setting up your database
Project Structure
Once initialized, your project will have a clean, modular structure:
my-saas-app/
āāā app/
ā āāā (auth)/ # Authentication pages
ā āāā dashboard/ # Dashboard pages
ā āāā api/ # API routes
ā āāā layout.tsx # Root layout
āāā components/
ā āāā ui/ # UI components
ā āāā marketing/ # Marketing components
āāā lib/
ā āāā auth.ts # Auth utilities
ā āāā db.ts # Database client
ā āāā subscription.ts # Subscription logic
āāā public/ # Static assets
Environment Setup
After initialization, create a .env.local file with your credentials:
# Database DATABASE_URL=postgresql://user:password@host:5432/db # Authentication BETTER_AUTH_SECRET=your-secret-key BETTER_AUTH_URL=http://localhost:3000 # Payments (Polar.sh) POLAR_ACCESS_TOKEN=your-polar-token POLAR_WEBHOOK_SECRET=your-webhook-secret
Running Your App
Start the development server:
npm run dev
Your app will be available at http://localhost:3000
Next Steps
Now that you have your SaaS up and running, here are some recommended next steps:
- Customize Your Brand - Update colors, logo, and copy
- Configure Payments - Set up your Polar.sh products
- Add Features - Use
npx shipd appendto add more modules - Deploy - Deploy to Vercel, Railway, or your preferred platform
Adding More Features
Shipd's modular architecture lets you add features as you need them:
# Add blog functionality npx shipd append --features blog # Add analytics npx shipd append --features analytics # Add customer support npx shipd append --features support
Learn More
- Documentation - Full documentation
- API Reference - API endpoints
- Deployment Guide - Deploy your app
- GitHub - Source code
Conclusion
Shipd helps you focus on what matters: building your unique product. Skip the boilerplate and start shipping today.
Ready to build? Run npx shipd init and launch your SaaS in minutes.