© Fernando Doglio 2015

Fernando Doglio, Pro REST API Development with Node.js, 10.1007/978-1-4842-0917-2_7

7. Developing Your REST API

Fernando Doglio

(1)La Paz, Canelones, Uruguay

Now that we have finally defined the tools that we’ll use and the project that we’ll develop with them, we’re ready to actually start coding. This chapter will cover that part—from the organization of the files (the directory structure), through the small design decisions made during development, and finally to the code itself.

This chapter will display the entire source code for the project, but we’ll only go over the relevant parts. Sadly, some bits and pieces are just plain boring (like the JSON Schema definitions and the simpler models), so I’ll skip it. These things ...

Get Pro REST API Development with Node.js 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.