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
/healthand/readyendpoints
Installation
Loading...
Quick start
Standalone server
Loading...
App-Only Mode
Loading...
Configuration
| Setting | Type | Default | Description |
|---|---|---|---|
port | number | - | Port to listen on. If not set, runs in app-only mode |
path | string | /collect | Event collection endpoint path |
cors | boolean | object | true | CORS configuration |
status | boolean | true | Enable health check endpoints |
HTTP methods
| Method | Endpoint | Description |
|---|---|---|
| POST | /collect | JSON event ingestion |
| GET | /collect | Pixel tracking (returns 1x1 GIF) |
| OPTIONS | /collect | CORS preflight |
| GET | /health | Liveness check |
| GET | /ready | Readiness check |
Example request
Loading...
💡 Need Professional Support?
Need professional support with your walkerOS implementation? Check out our services.