Prerequisites

Everything you need to know before cloning and setting up ZeroDrag.

Who This Product Is For

ZeroDrag is designed for experienced developers building applications that require:

  • User authentication and session management
  • Subscription billing with multiple payment providers
  • Feature access control and entitlements
  • Email communications
  • Optional AI integration

This is a production-ready starter template, not a tutorial. You should be comfortable with Next.js, TypeScript, and modern React patterns.

System Requirements

Node.js

Version 20 or above is required. Check your version:

bash
node --version

Package Manager

This project uses pnpm. Install it if you don't have it:

bash
npm install -g pnpm

Git

Required for cloning the repository. Ensure Git is installed and configured.

Required Accounts

You'll need accounts for the following services. Some are required, others are optional depending on which features you use.

Required

  • GitHub - For repository access after purchase
  • PostgreSQL Database - Supabase, Neon, or self-hosted PostgreSQL
  • Google Cloud Console - For OAuth authentication
  • Resend - For email delivery (magic links, transactional emails)

Payment Provider (Choose One)

  • Stripe - Recommended for global products
  • Razorpay - Recommended for India-focused products

Optional

  • Sentry - For error tracking
  • AI Providers - OpenAI, Anthropic, or Google Gemini for AI features

What You'll Receive After Purchase

After purchasing ZeroDrag, you'll receive:

  • Repository Access - Read-only access to the ZeroDrag repository on GitHub
  • Complete Source Code - Full Next.js application with all features implemented
  • Production-Ready Infrastructure - Authentication, payments, database schema, and integrations

Note: Repository access is granted based on your subscription plan. You will need to enter your GitHub username after payment to get access.

How to Clone the Repository

Once you have repository access, clone it to your local machine:

1. Accept the GitHub Invitation

Check your email for a GitHub repository invitation and accept it. The repository name will match your subscription plan (e.g., zerodrag-starter or zerodrag-pro).

2. Clone the Repository

Use the repository URL from GitHub:

bash
git clone <repository-url>

Replace <repository-url> with the actual URL from your repository.

3. Navigate to the Project

bash
cd [repo-name]

Next Steps

Once you've cloned the repository, proceed to the Quick Start guide to get your development environment running.