In a previous post, I wrote about creating the API for the The Vardyger publishing platform. In this post, we'll enhance the API by adding support for content negotiation (e.g., application/json or text/html). The Swagger Specification We'll start by updating the GET /posts/{id} URI, jump to…
Express.js
The Vardyger publishing platform :)
In a previous post, I wrote about Swagger and how it can help you to model and build a RESTful API. In this post, I'll walk you through the steps required to create the API for the "Vardyger publishing platform". The Object Model The object model of our…
Build your Microservices API with Swagger and Express
Swagger is a specification and a suite of tools to help you model and build a RESTful API. In this post, we'll install Swagger and then create the scaffolding for a Microservices API with a Swagger UI. Prerequisites Xcode Command Line Tools Homebrew (the missing package manager for OSX) Node.…
A JavaScript Microservices stack
Model, Build, Ship, Repeat! Model (Ask & Listen) Business Capabilities & Bounded Contexts Archetypes & Exemplars Getting started with Papyrus Build (Code & Test) Express.js or hapi restify Seneca or koa Private NPM Repository sinopia Service-2-Service Communication dnode is an asynchronous rpc system for Node.js jschan is a…