Hoodie Bindings for PureScript (Work in Progress)
This is a PureScript library containing bindings for accessing the offline-first, noBackend Framework Hoodie.
The article on this library is located here.
Currently, these API are implemented:
There's more to come.
bower install npm install
gulp make-demo [initial build only or when API implementation changes] gulp build-demo
Go to your install directory and type in the console:
After a few moments you'll see a message like this:
Hoodie will automatically open the demo app in your browser. This app is basically a shallow copy of the original Hoodie TestApp. Open browser console to see a few messages from your PureScript-based app.
Running on Windows
If your CouchDB installation is not in the default path (C:\Programs ... etc) then you'll likely run into some weird errors like "no CouchDB found".
In this case you can use my proposed fix.
The solution is very simple: just copy the contents of the multicouch-folder to your multicouch that's located under node_modules.
More detailed info on this error can be found here.
However, I have to warn you that this fix only worked on my machine and therefore I can't give you any guarante that'll work the same way on yours.
But if more people test the fix we can find out if it works in general. Thanks for trying it out.