Skip to content

Latest commit

 

History

History
31 lines (20 loc) · 492 Bytes

File metadata and controls

31 lines (20 loc) · 492 Bytes

Express API Example

Minimal Express.js API demonstrating ShipNode deployment.

Features

  • Health check endpoint (/health)
  • JSON API responses
  • Environment-based port configuration

Local Development

pnpm install
pnpm dev

Server runs on http://localhost:3000

Deployment with ShipNode

shipnode deploy

The shipnode.conf configures this as a backend service on port 3000.

Endpoints

  • GET / - Welcome message
  • GET /health - Health check