Quickstart & Setup
Welcome to the DRWebLabs documentation. All themes and plugins are distributed as complete production-ready source code bundles with zero DRM lock-in.
Step 1: Extracting Your Source Bundle
After completing checkout, unzip your downloaded archive into your desired directory:
# Unzip and navigate to template root
unzip nexus-saas-v1.5.0.zip
cd nexus-saas
# Install all project dependencies with pnpm or npm
pnpm install
Step 2: Configuring Environment Variables
Copy the example environment file and insert your API keys and License Key:
cp .env.example .env.local
# Edit your configuration
DRWEBLABS_LICENSE_KEY=DRW-XXXX-XXXX-XXXX
DATABASE_URL="postgresql://user:password@localhost:5432/mydb"
STRIPE_SECRET_KEY="sk_live_..."
NEXT_PUBLIC_APP_URL="https://yourdomain.com"
Step 3: Launch Local Development Server
pnpm dev
# Ready on http://localhost:3000
License Key Activation
Every purchase generates a cryptographic license key formatted as DRW-XXXX-XXXX-XXXX. This key unlocks automatic plugin updates, theme patches, and priority support.
For WordPress Themes & Plugins
Navigate to WP Admin -> Settings -> DRWebLabs License, paste your License Key, and click Activate License.
For Next.js / Node.js Applications
DRWEBLABS_LICENSE_KEY="DRW-9842-XF91-K240"
Auto-Updates & Git Workflow
Developer License and Lifetime holders receive direct GitHub repository invitations for instant upstream pull requests and version tags:
# Add DRWebLabs upstream remote
git remote add upstream https://github.com/drweblabs/nexus-saas.git
# Pull latest release patches
git fetch upstream
git merge upstream/main --allow-unrelated-histories
Nexus SaaS (Next.js 15 & Tailwind)
Nexus SaaS features Next.js 15 App Router, React Server Components, Tailwind CSS, Lucide icons, and pre-integrated Stripe Webhook endpoints.
Stripe Webhook Listener Setup
// app/api/webhooks/stripe/route.ts
import { stripe } from '@/lib/stripe';
import { handleSubscriptionChange } from '@/lib/subscriptions';
export async function POST(req: Request) {
const body = await req.text();
const signature = req.headers.get('stripe-signature')!;
const event = stripe.webhooks.constructEvent(
body,
signature,
process.env.STRIPE_WEBHOOK_SECRET!
);
if (event.type === 'customer.subscription.updated') {
await handleSubscriptionChange(event.data.object);
}
return new Response(JSON.stringify({ received: true }), { status: 200 });
}
DevFolio Pro (Astro 5 & MDX)
DevFolio Pro compiles static HTML with zero JavaScript by default, achieving sub-0.5s page loads. Write blog posts and project case studies directly in Markdown or MDX.
Creating a New Case Study in MDX
---
title: "Scaling Edge Telemetry to 10M Events"
publishDate: "2026-03-15"
tags: ["Next.js", "Cloudflare", "PostgreSQL"]
metrics:
conversion: "+340%"
loadTime: "42ms"
---
# Project Architecture Overview
High-concurrency streaming WebSocket pipelines...
PressCore WP (Full Site Editing)
PressCore is built strictly for WordPress 6.x FSE block themes with ACF Pro integration. Custom block patterns are located under /patterns.
TurboSpeed Core Web Vitals Plugin
TurboSpeed uses speculative preloading and intelligent script delay to achieve green 95+ PageSpeed scores on complex WordPress installations.
DevCopilot AI Chat Widget
DevCopilot can be initialized via simple script tag or React component. Provides direct RAG search and custom API keys.
<script src="https://cdn.drweblabs.com/devcopilot.js"
data-key="DRW-AI-XXXX"
data-theme="dark"
data-model="gpt-4o">
</script>
Stripe Instant Checkout Bridge
Drop-in 1-click checkout modal supporting Apple Pay, Google Pay, and automatic cryptographic license delivery.