2MRW NOW SUPPORTS REFER A FRIEND

Build Your MVP in a WEEKEND, not Months, with Next.js and Supabase

Launch in as little as 48 hours with this lightweight Next.js Supabase boilerplate that handles all the boring stuff such user authentication, stripe, etc.

TECH STACK

Stop Building Infrastructure, Start Building Products

Built with developer-loved technologies trusted by thousands of startups like Vercel, Stripe, and Linear - pre-configured out of the box.

Next.js 15 & Server Components

Built on the latest Next.js with App Router, React Server Components, and TypeScript for type-safe development.

Supabase Authentication & Database

Production-ready auth with social logins, magic links, and a scalable Postgres database with real-time subscriptions.

Stripe Payment Infrastructure

Complete billing system with subscription management, customer portal, and flexible pricing options - both recurring and OTPs.

Resend Email Platform

Professional transactional emails with React Email templates for user verification, password resets, and billing notifications.

Tailwind CSS & shadcn/ui

Modern, responsive UI components with dark mode support built using Tailwind CSS and shadcn/ui.

Marketing Components

Ready-to-use landing sections including hero, pricing tables, testimonials - all responsive and customizable.

User Referral System

Built-in referral system to help grow your user base through word-of-mouth marketing.

Cypress E2E Testing

Comprehensive test coverage for authentication flows, payment processes, and critical user journeys.

Pre-Built Marketing Components

Marketing Components. Landing page sections with hero, features, pricing, etc. - responsive and customisable out of the box.

Reusable Components Pre-built sections including hero, features, pricing, testimonials, etc. that can be mixed and matched.
Responsive Design Optimised layouts that automatically adapt to mobile, tablet, and desktop screens.
Simple Customisation Change colors, content, or even the whole component through simple props without touching the core code.
Built-in authentication flows

User authenticaton. Secure authentication with built-in social logins, email verification, and role-based access.

Password Login Traditional email and password authentication with secure session management.
Social Login Effortless one-click social authentication allowing users to sign in with their Google account.
Magic Link Login Passwordless sign-in method to authenticate users with just their email.
Accept payments with ease

Billing with Stripe. Handle recurring subscriptions and OTPs with a built-in customer portal and flexible billing options.

Pricing Table Pre-built pricing tables - just connect the price IDs from Stripe and start collecting $'s.
Billing Portal Let customers manage their subscription and credit card through a self-serve billing portal.
Subscriptions and OTPs Switch between recurring and OTPs through changing a single line of code.
Built-in automated email flows

Transactional Emails. Professional-grade email infrastructure with built-in templates using Resend.

Transactional Emails Pre-built emails and automated notifications for purchases, and account updates via Resend.
Email Templates Professional, responsive email templates for all transactional communications to ensure consistent branding.
Passwordless Login Emails Secure sign-in links, password reset flows, and email verification messages built right in.
Scale from 0 to 1 million users

Database Infrastructure. From MVP to enterprise without rebuilding. Handle thousands of records at remarkable speed.

Pre-Built Workflows Scheduled cron jobs to keep subscription statuses, and user data consistent across Supabase, Stripe, etc..
Protected Routes Protected routes and session management to secure sensitive content and premium features.
Free Trial Management Fine-grained access control to enable or disable free accounts through changing a single line of code.
E2E Tests with Cypress - COMING SOON

End-to-End Testing. Built-in test coverage ensuring reliable authentication, billing, and user flows.

E2E Test Suite Comprehensive test coverage for authentication flows, subscription handling, etc.
User Error Monitoring Track where and when users encounter errors to fix critical issues before users are compelled to seek alternative solutions.
Extensible Framework Simple-to-follow test patterns which allows to add custom test coverage for new features with ease.

PRODUCT DEMO

2mrw in 3 minutes!

The dream behind this boilerplate? You, launching this weekend and pocketing that FIRST DOLLAR online, while competitors are still choosing frameworks.

TRANSPARENT PRICING

Simple Pricing for Indie Hackers

Simple, One-Time Pricing. Choose a plan and start building in as little as 5 minutes - no subscriptions, no hidden fees - just a lifetime of updates and features.

ESSENTIALS

$89.95 ONE TIME
Ideal for developers testing the waters. Complete Next.js starter kit with 12 months of updates.

INDIE HACKER

Most Popular
$119.95 ONE TIME
For serial builders and makers. Everything in Essentials, plus lifetime updates.

License Terms and Support

Commercial Projects
ESSENTIALS
Unlimited
INDIE HACKER
Unlimited
Updates
ESSENTIALS
12 Months
INDIE HACKER
Lifetime
Source Code
ESSENTIALS
INDIE HACKER
Documentation
ESSENTIALS
INDIE HACKER
24/7 Chat Support
ESSENTIALS
INDIE HACKER

User authentication

Email and Password authentication
ESSENTIALS
INDIE HACKER
Social Sign-In (Google)
ESSENTIALS
INDIE HACKER
Magic Link authentication
ESSENTIALS
INDIE HACKER
Protected Pages
ESSENTIALS
INDIE HACKER
Tier-Based access
ESSENTIALS
INDIE HACKER

Billing Features

Stripe Integration
ESSENTIALS
INDIE HACKER
Customer Billing Portal
ESSENTIALS
INDIE HACKER
Pre-Built Pricing Tables
ESSENTIALS
INDIE HACKER
Pre-Built Subscription Flows
ESSENTIALS
INDIE HACKER
Recurring and OTPs
ESSENTIALS
INDIE HACKER

Email

Transactional Email Templates (Free Trial, etc.)
ESSENTIALS
INDIE HACKER
Custom Email Templates (Password Reset, Magic Link, etc.)
ESSENTIALS
INDIE HACKER

Database

Supabase Database Setup (incl. pre-built SQL snippets)
ESSENTIALS
INDIE HACKER
Real-Time Subscriptions
ESSENTIALS
INDIE HACKER

Miscellaneous

User Referral System
ESSENTIALS
INDIE HACKER

FAQs

Your questions answered in simple terms.

READY TO LAUNCH YOUR MVP?

Stop Planning, Start Building This Weekend

Don't waste months on boilerplate code and technical setup. Focus on what matters - building features customers will love.