Skip to main content
Server Source code Package

Express

Turn-key HTTP event collection server with Express.js. Handles JSON POST events, pixel tracking (GET), CORS, and health checks.

Features

  • Standalone or embedded: Start server automatically or integrate with existing Express app
  • CORS support: Configurable cross-origin resource sharing
  • Pixel tracking: 1x1 transparent GIF for GET requests
  • Health checks: Built-in /health and /ready endpoints

Installation

Loading...

Quick start

Standalone server

Loading...

App-Only Mode

Loading...

Configuration

SettingTypeDefaultDescription
portnumber-Port to listen on. If not set, runs in app-only mode
pathstring/collectEvent collection endpoint path
corsboolean | objecttrueCORS configuration
statusbooleantrueEnable health check endpoints

HTTP methods

MethodEndpointDescription
POST/collectJSON event ingestion
GET/collectPixel tracking (returns 1x1 GIF)
OPTIONS/collectCORS preflight
GET/healthLiveness check
GET/readyReadiness check

Example request

Loading...
💡 Need Professional Support?
Need professional support with your walkerOS implementation? Check out our services.