BoltStack is a comprehensive Next.js boilerplate designed to significantly accelerate the development and launch of SaaS applications. It eliminates days of tedious setup by providing a robust foundation with over 90 prebuilt UI blocks, 5 ready-to-use templates, and an instant Next.js app generator. This full-stack solution is engineered to help developers ship faster by focusing on unique features rather than boilerplate code.
Key features include:
- Authentication & User Management: A fully integrated NextAuth.js setup supporting secure user sessions, one-click social logins (Google & GitHub), secure password reset flows, rate-limited auth endpoints, and a dedicated User Settings Dashboard UI.
- PayPal Payments & Subscriptions: A complete billing system leveraging PayPal Webhooks for automated subscription management, self-healing billing status, a ready-to-use billing portal UI, and flexible models for one-time or recurring payments.
- Dynamic Credit & Billing Engine: A sophisticated "Pay-as-you-go" system with a real-time responsive UI. It features smart pricing (auto-toggles between 'Upgrade' and 'Refill'), instant credit updates across the application, a unified billing hub for usage and payment history, and tier-aware logic to prevent duplicate purchases.
- Advanced SEO & Analytics: Maximizes visibility with automated metadata generation for server-side pages and blog posts. Includes dynamic metadata for blog posts, server-side meta tags for all pages, ready-to-go Google Analytics 4 integration, and optimized sitemap & robots generation.
- Premium ShadcnUI Components: Access to a library of premium, reusable components designed for a professional SaaS look. These components are fully reusable, copy-paste ready, modular, fully responsive, and mobile-first.
- Email & Marketing Automation: Integrated Resend and Mailchimp endpoints for effortless transactional emails and newsletter growth. Features React-based email templates, a rate-limited lead capture API, automated welcome sequences, and pre-configured contact form logic.
- Security & Rate Limiting: Protects APIs and server actions from abuse using high-performance rate limiting powered by Upstash Redis. Provides global Redis-based rate limiting, protection for auth & lead forms, prevents API cost spikes from bots, and offers ready-to-use Upstash integration.
- Type-Safe Database & Drizzle ORM: A high-performance PostgreSQL schema powered by Drizzle ORM. It comes fully typed, easily extensible, and optimized for serverless environments, including pre-configured Auth & Subscription schemas, automated migrations, type generation, and complex relations.
- Advanced MDX Support: A full-stack MDX engine integrated into the Next.js App Router for high-performance, developer-friendly content management. Includes pre-configured
next.config.mjs, Remark GFM (GitHub Flavored Markdown) table support, dynamicuseMDXComponentscustom tag mapping, and client-side navigation with server-side speed. - Professional MDX Documentation: A high-end documentation system featuring dynamic MDX loading, custom architectural callouts (Clerk-style), enhanced code blocks with copy-to-clipboard functionality, and a dynamic sidebar with active-state tracking.
- Advanced Account Management: A complete, pre-built settings dashboard for users to manage their identity and data with full synchronization, including in-place 'Click-to-Edit' name updates, one-click avatar image management, secure account deletion flow, and real-time Zustand & Session syncing.
- Media Storage with UploadThing: High-performance file uploads integrated directly into UI components, ideal for profile pictures and project assets, with dynamic upload logic, automatic file validation (type & size), and secure server-side file metadata.





