Coding APIs with NodeJS and DARRT

By relying on a consistent process for building APIs, we can get things done quickly and easily and focus on the work of accurately translating the design into code. And by using the same process more than once, we can get more skilled at the work and even learn how to modify the process to better fit your own (and your team’s) needs in the future.

DARRT stands for data, actions, resources, representations, and transitions. The first three terms probably look familiar. We discussed the role of data properties and actions early in the design process, and I pointed out the importance of resources as we worked through our sketches and prototyping. I haven’t discussed the last two terms (representations and ...

Get Design and Build Great Web APIs now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.