Skip to content
spaceport / docs
The Spaceport handbook

Spaceport Documentation — Table of Contents

Getting Started

Tutorials

Core Architecture

Alerts (Event System)

Spaceport's unified publish-subscribe event system for HTTP routing, WebSocket messaging, lifecycle hooks, and custom events.

Source Modules

Hot-reloadable Groovy classes that contain your application logic.

Routing (HTTP Handling)

HTTP request handling, URL patterns, and response writing.

Guides

Data Management

Cargo (Reactive Data Containers)

Reactive data structures that bridge server state and client UI.

Documents (CouchDB ORM)

ORM-style interface for CouchDB document storage and retrieval.

Sessions & Client Management

User authentication, session state, and client tracking.

UI & Templating

Launchpad (Templating Engine)

Server-side templating with reactive bindings and server actions.

HUD-Core.js (Client-Side Library)

Lightweight JavaScript library for WebSocket communication, event binding, and DOM patching.

Transmissions (Client-Server Communication)

The data pipeline that carries client-side data to server actions and returns responses.

Server Elements (Reusable Components)

Encapsulated, reusable full-stack components with their own templates and server logic.

Static Assets

Serving images, CSS, JavaScript, fonts, and other static files.

Developer Tools

Spaceport CLI

Command-line interface for starting Spaceport and running migrations, including unattended execution.

Scaffolds

Project structure templates and starter kits for new applications.

Manifest Configuration

The .spaceport configuration file that controls application startup and behavior.

Migrations

One-off scripts for database maintenance, data transformations, and administrative tasks.

Class Enhancements

Groovy metaclass extensions that add utility methods to standard types.

Stowaway JARs

Managing external Java library dependencies.

HTTP Client

Built-in utility for making outbound HTTP requests to external APIs and services.

Reference

Walkthroughs and live examples

Make the docs better.Edit this page on GitHub