PureScript RealWorld Backend

Nice work!

I’m curious about the options for using PostgreSQL in PureScript. I see you went with node-postgres. What were your deciding factors for using that versus these other options?

Also, are there any ways to get more compile-time guarantees that the magic postgres query strings are formatted correctly? (example of file containing these strings). Have we considered writing a DSL to generate these query strings, or is that not really worth the effort?


Edit: Looks like selda is the most promising DSL solution. To summarize, these are all the DB libs proposed so far:

3 Likes