Getting Started with Movefast
Learn how to quickly build and deploy your SaaS product using the Movefast boilerplate. From setup to production in minutes.
Building a SaaS product from scratch can be overwhelming. Between authentication, payments, email, and database setup, you can spend weeks before writing any actual business logic. That's where Movefast comes in.
What is Movefast?
Movefast is a modern Next.js 15 boilerplate designed to help you ship products faster. It comes pre-configured with everything you need:
- Authentication - Magic link and OAuth providers
- Payments - Stripe and Dodo Payments integration
- Database - Support for MongoDB and Supabase
- Email - Postmark, Resend, and SMTP support
- UI Components - shadcn/ui with Tailwind CSS
Quick Start
Getting started is simple. Clone the repository and install dependencies:
git clone https://github.com/your-org/movefast.git my-saas
cd my-saas
npm install
Environment Setup
Copy the example environment file and configure your services:
cp .env.example .env.local
Fill in your credentials for:
- Database connection
- Authentication providers
- Payment gateway keys
- Email service credentials
Your First Feature
With the boilerplate ready, you can focus on what matters - your product. Here's how to add a new feature:
1. Create a Route
Add your route to the constants file:
export const ROUTES = {
// ... existing routes
MY_FEATURE: "/my-feature",
} as const;
2. Build the Page
Create your page component following the existing patterns:
import { checkAuth } from "@/lib/auth/page-auth";
import { AccessLevel } from "@/lib/types/auth.types";
export default async function MyFeaturePage() {
await checkAuth({ access: AccessLevel.AUTHENTICATED });
return (
<div>
<h1>My Feature</h1>
{/* Your feature UI */}
</div>
);
}
Deployment
Movefast is optimized for deployment on Vercel:
- Push your code to GitHub
- Import the project in Vercel
- Add your environment variables
- Deploy!
Pro tip: Use Vercel's preview deployments to test changes before going to production.
What's Next?
Now that you're up and running, explore these resources:
- Check out the pricing configuration to set up your plans
- Configure your email templates for transactional emails
- Set up your payment provider for accepting payments
Have questions? Reach out to us and we'll be happy to help.
Happy building!