Can you take your Postgres database schema and programmatically turn it in to a REST API? Joe Nelson's PostgREST proves that the answer is "Yes"! It also:
provides a cleaner, more standards-compliant, faster API than you are likely to write from scratch.
How fast, you may be wondering?
subsecond response times for up to 2000 requests/sec on Heroku free tier.