v1.0.0Version 1.0: 122 business website templates in Tailwind HTML, Tailwind + Vite, Next.js, React, Astro, Vue, Nuxt, SvelteKit and Laravel.

Docs/05 Ship

Deploy a Node site

Put a Briks feature template online on a Node host: set the environment, migrate, build, start, add a reverse proxy, HTTPS and IP_HEADER.

Updated 23 November 2026

You can run a feature template on any Node host, such as a VPS with nginx, Render, Railway or Fly.io. It is not a static build, so it needs a running Node process.

Steps

  1. Install Node.js 24 or newer on the host.
  2. Copy the project to the host.
  3. Run npm install.
  4. Create .env from .env.example and fill it in. See Accounts and database.
  5. Set SITE_URL to the public address, and list other addresses in SITE_HOSTS.
  6. Set DATABASE_URL for your database. Use a PostgreSQL or Turso address if the host does not keep files between deploys.
  7. Run npm run db:migrate.
  8. Run npm run build.
  9. Run npm start. The site listens on port 3000 by default.

Reverse proxy and HTTPS

  1. Put a reverse proxy, such as nginx, in front of the Node process and send traffic from your domain to port 3000.
  2. Serve the site over HTTPS.
  3. Set SITE_URL to the https:// address.

Set IP_HEADER

IP_HEADER names the header that carries the visitor's IP address. The site uses it for rate limits.

  • Behind a reverse proxy, use x-forwarded-for.
  • Behind Cloudflare, use cf-connecting-ip.

Keep your data

  • With SQLite, keep the data/ folder between deploys.
  • Keep the folder set in FILES_DIR, which holds uploads.

Email

Set MAIL_PROVIDER to resend or smtp before you go live. console prints emails and sends none. See Email.

Next · 06 FormatsTailwind HTML formatReference for the Briks Tailwind HTML format: package versions, file layout, optional CSS rebuild, forms, static hosting and the design-only feature templates.

Your next client site is mostly built.

122 websites, $79 once, for every site you build. New templates and updates are free for life.

Works with any AI agent

  • Claude
  • Claude Code
  • OpenAI
  • Codex
  • Grok
  • Grok Bot
  • OpenClaw
  • Hermes Agent
  • Gemini
  • Antigravity
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Cline
  • Kiro
  • Junie
  • Replit
  • v0
  • Ollama

+ any agent that reads AGENTS.md