Hopefully the former. It would be difficult to build anything non-trivial with it. However, I suppose you could build a basic counter or key-value system over HTTP with it.
It is by definition difficult to build anything non-trivial regardless.
This looks like a very nice way to build small simple REST APIs especially if you're already using nginx and postgres anyway.