A nodejs api using a postgres database
Save the package.json and the index.js file to a folder on your linux instance.
Run npm install.
Once that's done, update the database credentials to those required for your postgres database.
Run node index.
This will start your node api.