Show HN: Fortune.js – High-level I/O for web applications
fortunejs.com
fortunejs.com
Looks like axiom is coupled to RDBMS, while fortune tries to abstract away the data store (there are mongodb & postgres adapters) by providing a contract for reading/writing data. virtus looks very similar to the implementation of record type in fortune, has some extra features such as type coercion and lacks some features such as foreign keys.
if you're interested in query implementation have a look at how the postgres adapter maps the adapter contract to sql: https://github.com/fortunejs/fortune-postgres/blob/master/li...
The code for that one lives here: https://github.com/unindented/fortune-example
"Fortune includes a browser build, which comes with the IndexedDB"
Brilliant. This is exactly what I've been looking for.