Building Production-Ready APIs With Node.js

Embed Size (px)

Citation preview

PowerPoint Presentation

Building APIs with Node.jsGreg Brail, Scott Ganyo and Kevin Swiber

OverviewIntroduction to the stackBuilding a simple APIDeploying itAdding API Features using Volos2

Introduction to the Stack3

Node.js StackAPI MiddlewareVolosWeb app and API frameworkArgoExpressothersRuntimeNode.jsTrireme

Node.jsServer-side platform for JavaScriptSupport for HTTP(s)Scalable and fastHuge third-party community

ArgoA framework for APIsA framework for proxiesMiddleware support6

VolosNode.js modules for API managementOAuthQuotaCachemore to comeMIT LicenseMultiple back ends7

Demo: Building a Simple API8

Apigee Support

Node.js Support in ApigeeDeploy Node.js applications to ApigeeDirectly from UIFrom source codeThird party module supportCombine with other policies

Using the Apigee UIDemo11

Deploying to ApigeeDemo12

Volos13

Introduction to VolosOAuth 2.0Add OAuth 2.0 authorization support to any APIRedis back endApigee back end makes API calls to ApigeeQuotaCount API calls by time and by any identifier (API key, etc.)Local back end (in memory)Apigee back endCacheCache arbitrary dataLocal back end (in memory)Redis and Apigee in the worksMore to comeOpen source

Volos ModulesAdd a quota to the app using the volos-quota moduleDeploy it to Apigee15

Demo: Basic Volos App16

Demo: More Complete App

We would love your feedback!

Dont forget to fill out the sessions survey found in the session details on the conference app

#iloveapis

Thank you