Orbit

Getting started

Install Orbit and have a working app with data on screen in about five minutes.

Orbit is a Next.js app with a real database, accounts, billing, a public API and an AI assistant. This page gets it running on your machine.

What you need

  • Node.js 20 or newer
  • npm (it comes with Node)

You do not need to install a database. Without any configuration, Orbit runs an embedded PostgreSQL database and saves it in a .data folder inside the project.

Install and run

  1. Unzip the download and open the folder in a terminal
  2. Install the dependencies with npm install
  3. Start the app with npm run dev
  4. Open http://localhost:3000

Try it with real-looking data

  1. Click Start free trial and create an account
  2. Open Analytics and choose Load sample traffic
  3. Open Customers and choose Load sample data

Every chart, table and alert now has data. Choose Clear sample traffic at any time to remove it. Real events are never deleted by that button.

Password reset links in development

Orbit has no email provider until you add one. In development, the reset and invite links are shown on screen and printed to the terminal, so you can test the whole flow without email. Details are in Configuration.

What is where

FolderWhat it holds
app/Pages and API routes
components/The interface
lib/Database, auth, billing, analytics and AI logic
lib/copy.tsAll marketing text in English, Spanish and German
lib/plan-data.tsPlans, prices and limits
content/posts/Blog posts and changelog entries as Markdown files
content/docs/These documentation pages
public/t.jsThe tracking script customers add to their sites

Scripts

CommandWhat it does
npm run devDevelopment server with hot reload
npm run buildProduction build
npm startRun the production build
npm run lintCheck the code
npm testRun the automated test suite (see Testing)

Next, read Configuration and Customize.