A minimal Express.js health-check API. Single file server.js on port 3000. Two endpoints: GET / returns {"message":"pong"} with 200, GET /health returns {"status":"ok","uptime":process.uptime()} with 200. Uses morgan for request logging. No database, no auth. Dependencies: express, morgan. Golden build: npm install && node server.js. Golden test: curl localhost:3000 && curl localhost:3000/health.
Find a file
2026-02-26 22:01:08 +00:00
README.md Initial commit 2026-02-26 22:01:08 +00:00

PingAPI

A minimal Express.js health-check API. Single file server.js on port 3000. Two endpoints: GET / returns {"message":"pong"} with 200, GET /health returns {"status":"ok","uptime":process.uptime()} with 200. Uses morgan for request logging. No database, no auth. Dependencies: express, morgan. Golden build: npm install && node server.js. Golden test: curl localhost:3000 && curl localhost:3000/health.