Prepare my Node.js app for space facts for Heroku: set engines.node to 22.x in package.json, add a Procfile with web: npm start, listen on process.env.PORT, add node_modules to .gitignore, and list the commands to create the app and run git push heroku main.
Add Heroku Postgres Essential-0 to my app for space facts: the CLI command to add it, how DATABASE_URL arrives as a config var, the SSL setting for node-postgres, and a release phase in the Procfile that runs migrations.
Write a short checklist to take my Heroku app for space facts live: move secrets into config vars, turn on automatic deploys from the GitHub main branch, add a custom domain with automatic certificates, and choose between Eco and Basic dynos.