This document summarizes Deployd, an open source API development platform that allows building APIs quickly on Node.js and MongoDB. Deployd provides a common server and client API using dpd.js, supports real-time capabilities through web sockets, but lacks features like live reloading, datetime data types, and support for MongoDB replication and sharding. While easy to get started with, Deployd may be limited to prototyping and not suitable for production systems.
1 of 10
More Related Content
Rapid API development on MongoDB
1. Rapid API development
on MongoDB
Daniel Hjelm @dhjelm
Google+ pro?le: http://goo.gl/QcLND
2. ? "the simplest way to build
an API"
? Open source
? Build on Node.js and
MongoDB
http://deployd.com/ ? Common server and
client API (dpd.js)
? Can sync client states
through Web-sockets.
? No live reload :(
3. Getting started
$ dpd create klmug-dpd
You need to specify dbname and host (at least when
installing from NPM). Otherwise you just get stuck with a:
$ dpd -d
starting deployd v0.6.8...
Instead do:
$ dpd --dbname klmug-dpd --host localhost --mongoPort 27017
starting deployd v0.6.8...
listening on port 2403
type help for a list of commands
dpd >
5. Client server
communication
? Two ways to interact with the server
? via dpd.js
? via REST calls
? Returns JSON
? No authentication by default
? No CSRF protection
6. Pros
? Easy to get started
? Example projects available on the website
? Could be good if you are new to REST
? Deployd's realtime capabilities
? Not only tied to web application
developent
7. Cons
? Kind of treats MongoDB as if it was a
relational DB
? Only support one level of objects
? localhost:1234/meetings/12/attendees
? Can¨t modify the id ?eld (must be an auto-
generated ObjectId)
8. More cons...
? Does not support live reload
? Their scaleable cloud does not seems to
work
? No datetime type
? No support for MongoDB replication nor
sharding
9. Conclusion
? Easy to get started with, but ...
? I can¨t really see it as anything more than a
prototyping tool