Starts server.js as a background process named api, restarted automatically if it crashes and saved across reboots with pm2 save. PM2 is a process manager aimed at Node services. Watch logs with pm2 logs api.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.