It’s neat that you can do this sort of thing with nginx rules. That said, I’m a big fan of PostgREST for solving the problem of quickly building a REST API from a database schema.
PostREST looks to be in Haskell. What are your experiences with running it in production?
I’ve never used it in production for a customer-facing project. I have used it very happily with a personal project where I had a bunch of data in a postgres database and just wanted to make it easy for a web frontend to query it. It was easy to configure and worked perfectly sitting behind nginx. The package was included in my distro’s package manager so I didn’t have any Haskell build issues.