I'd really been wanting to do an actual killer app for this contest, but
alas, too freaking busy to do a real app.
But I really wanted to do *something* -- both to learn Heroku (incl. the
Neo4j addon) and to contribute some Node.js love -- so I whipped together a
little template/demo app in the last couple of days. (I was aiming for the
12am PST deadline, but I ended up missing it by 30 mins! =P)
Just thought I'd share it here:
It's admittedly ugly as sin, but the functionality goes beyond just "here's
how you connect to a Neo4j database" one-liner -- the app implements CRUD
for both nodes and relationships. It's a simple social network manager,
letting you add/remove users and control who follows who.
It feels like the main Neo4j audience is Java guys who use Neo4j embedded,
but I come from a web background and I rely on Neo4j solely through its
REST API. So I hope this app helps others like me, esp. those who consider
Node.js as exciting as I do. =)
Feedback/questions/comments/etc. welcome! Thanks Neo4j team for setting up
this contest -- I really enjoyed the opportunity to both learn Heroku and
contribute back to the community.
P.S. Also worth mentioning that this app uses the Node.js library that my
startup built -- https://github.com/thingdom/node-neo4j -- instead of the
official Neo4js. The original reasons we built our own library were that
Neo4js didn't originally support Node.js, plus it was GPL-licensed, which
is a deal-breaker for JS. I hear neither is the case anymore.
Besides that, a quick perusal of Neo4js shows it to be essentially a port
of the Java API. I personally much prefer the API style we've used, e.g.
using the typical Node.js convention of callback(err, results); it feels
more natural for the platform. But I haven't compared the libraries beyond
this cursory level.