Skip to content

Latest commit

 

History

History
 
 

express-api

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

README.md

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