Skip to content

Documentation

Installation

On this page

✅ Key Requirements

Before starting, you'll need:

  • Node.js version 20.9 or higher (LTS recommended) — required by Next.js 16.
  • A package manager like npm (bundled with Node), or pnpm / yarn / bun.
  • A code editor (VS Code recommended).
  • Git (optional, but recommended for deployment).

No database, backend, or server software is required — Tapotik AI is a UI-only template.

🚀 Getting Started

The setup involves three main steps:

  1. Extract the downloaded template file

  2. Open the folder in your code editor

  3. Install dependencies

    Run npm install in the terminal to download dependencies into node_modules.

    cd tapotik-ai
    npm install

💻 Development & Production

To begin development, run the dev server (Turbopack) and open the site at http://localhost:4000:

npm run dev

When ready to launch, create an optimized production build and preview it locally:

npm run build
npm start

Note: npm run build is also the type + lint gate. next.config.ts does not ignore build or lint errors, so any TypeScript or ESLint error will fail the build.

🗂️ Key Configuration Files

Most customizations don't require modifying component code:

  • Site details — src/config/site.ts (branding, navigation, social links, SEO metadata).
  • Design tokens — src/app/globals.css (colors, radius, utilities).
  • Typography — src/app/layout.tsx (Google Fonts via next/font).
  • Content & mock data — src/lib/data.ts (blog posts, job openings, docs nav, pricing, testimonials).

See the Customization page for full details.

📜 Helpful Scripts

CommandWhat it does
npm run devDev server on port 4000 (Turbopack).
npm run buildProduction build (+ type & lint gate).
npm startServe the production build.
npm run lintRun ESLint (flat config).
npm run formatPrettier write.
npm run cbformat && lint && build — run this before committing.

🌍 Deployment Options

Tapotik AI is a standard Next.js 16 app and deploys to Vercel (recommended for simplicity) or any Node.js-compatible host like Railway or Render.

Before deploying, update the production domain in siteConfig.url (src/config/site.ts) so metadata, sitemap.xml, and robots.txt generate correctly.

  1. Push your project

    Push your project to a GitHub / GitLab / Bitbucket repository.

  2. Import it into Vercel

    Go to vercel.com, click Add New → Project, and import your repository.

  3. Deploy

    Vercel auto-detects Next.js, just click Deploy. No extra configuration needed.

Option B — Any Node.js host (VPS, Render, Railway, etc.)

  1. Build the app

    npm run build
  2. Start the server

    npm start

    Serves on port 4000 by default.

  3. Configure your domain

    Put it behind a reverse proxy (Nginx / Caddy) and point your domain at it.

Other platforms such as Netlify, Cloudflare Pages, and AWS Amplify work too — use their Next.js preset.

Most pages are statically prerendered (○ Static / ●); /blog is server-rendered (ƒ) to support category filtering.

🧩 A Note on Data

This is a UI-only template — there is no backend. All content lives in src/lib/data.ts and forms simulate success via the useSimulatedSubmit hook (src/lib/use-simulated-submit.ts). Its setTimeout is the single seam to swap for a real API request when you add a backend.