Documentation Index
Fetch the complete documentation index at: https://docs.tariqdev.xyz/llms.txt
Use this file to discover all available pages before exploring further.
Get Started
This guide gets Sonata running locally.Sonata is a Next.js storefront. Most setup work is changing config, product data, assets, and environment variables, then checking that every public page still builds cleanly.
Requirements
Install:- Node.js 20 or newer.
- pnpm 9 or newer.
- Git.
- A code editor.
- Pterodactyl panel for live stock.
- UptimeRobot for status monitoring.
- Billing panel such as WHMCS, Paymenter, Blesta, or custom billing.
Install Dependencies
From the project root:Run Development Server
3000 is busy:
Build Production
Environment Variables
Create.env.local in the project root.
Example:
First Setup Checklist
- Update
lib/config/site.ts. - Replace logos and metadata assets.
- Update billing URLs.
- Update game hosting plans.
- Update web, app, VPS, domain, and node product data.
- Test light and dark mode.
- Test all product pages.
- Run a production build before deployment.
Recommended Setup Flow
Use this order for a fresh installation:- Install dependencies with
pnpm install. - Start local development with
pnpm dev. - Update brand details in
lib/config/site.ts. - Replace logos, favicon, and metadata images.
- Update product plans and checkout URLs.
- Connect optional integrations.
- Test every route on desktop and mobile.
- Run
pnpm build.
Brand Setup
Open:| Field | Purpose |
|---|---|
name | Short brand name. |
fullName | Full public brand name. |
description | Main website description. |
url | Production website URL. |
billing.url | Billing or checkout base URL. |
billing.panel | Customer panel URL. |
social | Discord, email, marketplace, or community links. |
Pages to Check
Before deployment, open:Where to Go Next
General Configuration
Learn the main files for brand, navigation, data, and layout.
Product Data
Update plans, prices, tiers, specs, and checkout links.
Integrations
Connect Pterodactyl, UptimeRobot, Discord, billing, and domains.
Deployment
Prepare Sonata for Vercel, Railway, Render, or a VPS.