API Driven Backend For Apps Using Orchestrate.io15 Apr 2014
There is a great post over on the Orchestrate.io blog about how they deployed a backend for the MarvelousDB app, using data from the Marvel API, allowing you to explore the world of Marvel comic book characters, through a simple web interface
As developers often face with valuable API resources, the Marvel API leaves a lot to be desired when it comes to available interfaces, data access, and rate limit restrictions. This is common with new APIs, where it takes time to understand the right levers and dials to turn, that will make the API more usable by developers.
Even with these challenges, the Orchestrate team wanted to build the MarvelousDB so they could easily browse the world of Marvel comic book characters, putting the Marvel API to use, but also showing what is possible when using Orchestrate.io. The result is a great example of dynamically building a backend from API resources, in a way that delivers the access and performance you need.
To deliver the MarvelousDB the project employs Node.js, Express.js, Orchestrate.js, Handlebars for templating, and Q for async operations. Using the Marvel API, they pull the data they needed to drive the app, pulling it into Orchestrate.io, giving them the data model and performance they needed, but also adding in capabilities like full text search on top of the data—something that isn’t available from the Marvel API alone.
MarvelousDB is an great example of what is possible via the API driven, database as a service platform Orchestrate.io, but is also a great model to follow when developing web or mobile applications that depend on APIs. Sometimes APIs aren’t structured exactly as we need, and we can use platforms like Orchestrate.io, to well…orchestrate exactly the backend experience we need to get the job done.