Introduction
NextShip is a modern, production-ready SaaS template built with Next.js 16, React 19, and TypeScript. It provides everything you need to launch your SaaS product quickly.
Why NextShip?
Building a SaaS from scratch is time-consuming. You need to set up:
- User authentication and authorization
- Role-based access control (RBAC)
- Database and ORM
- Payment processing (subscriptions & one-time)
- Credit/token system for usage-based billing
- Email notifications
- File storage
- API gateway for AI services
- Admin dashboard
- Internationalization
- And much more...
NextShip gives you all of this out of the box, so you can focus on building your unique features.
Key Features
| Feature | Description |
|---|---|
| Authentication | Email/password, Google, GitHub OAuth with Better Auth |
| RBAC | Role-based access control with Casbin (superadmin, admin, user) |
| Payments | Stripe & Creem support, subscriptions & one-time purchases |
| Credits System | Token-based billing for API usage |
| Database | PostgreSQL + Drizzle ORM, Neon serverless ready |
| Admin Dashboard | Users, audit logs, emails, payments, permissions management |
| File Storage | R2/S3 compatible file uploads |
| AI Gateway | API proxy for AI services with usage tracking |
| Transactional emails with React Email + Resend | |
| i18n | English & Chinese out of the box |
| UI | shadcn/ui + Tailwind CSS v4 |
Who is this for?
NextShip is perfect for:
- Indie hackers who want to ship fast
- Startups that need a solid foundation
- Developers building AI-powered SaaS products
- Agencies building MVPs for clients
Tech Highlights
- Next.js 16 with App Router and Turbopack
- React 19 with Server Components and Server Actions
- Tailwind CSS v4 for styling
- TypeScript for type safety
- Drizzle ORM for database operations
- Casbin for flexible RBAC policies
Getting Started
Ready to dive in? Head to the Installation guide to set up your project.