Documentation
Quick Start

Quick Start

Get started with Moontraze in 5 minutes.

Before You Start

Moontraze hosts static sites. Confirm before you deploy.

Supported:

  • HTML, CSS, JavaScript
  • Next.js (static export)
  • React, Vue, Vite, Angular, Svelte (static builds)

Not Supported:

  • Python (Flask, Django, FastAPI)
  • Node.js APIs (Express)
  • Next.js SSR mode
  • PHP, Ruby, Go servers

For backends: Use Vercel, Netlify, or AWS.

See the Full list of supported frameworks.

1. Create an Account

Go to moontraze.com (opens in a new tab) and sign up.

2. Create a Project

After signing up, create a new project from the dashboard.

3. Get Your API Key

Go to Project Settings → API Keys and copy your API key.

4. Install an SDK

JavaScript

npm install @moontraze/sdk

5. Initialize

import MoonSDK from '@moontraze/sdk';
 
const moon = new MoonSDK({
  projectId: 'YOUR_PROJECT_ID',
  apiKey: 'YOUR_API_KEY',
});

6. Deploy Your First Site

Option A: Static HTML

moon moontraze deploy --prod

Option B: Next.js (static export)

Add to next.config.js:

const nextConfig = {
  output: 'export',
  images: { unoptimized: true },
};
 
module.exports = nextConfig;

Then:

npm run build
moon moontraze deploy --prod

Next Steps