You can use this NPM package for generating high performance APIs. It supports postgresql database. -- You can install it in your VPS and attach your postgresql connection string and it will generate 30 APIs for each table of each database.
https://www.npmjs.com/package/@sava-info-systems/api-maker