Your SlideShare is downloading. ×
0
Building APIs with Node.js
Greg Brail, Scott Ganyo and Kevin Swiber
Overview
•
•
•
•

Introduction to the stack
Building a simple API
Deploying it
Adding API Features using Volos

2
Introduction to the Stack

3
Node.js Stack
• API Middleware
– Volos

• Web app and API framework
– Argo
– Express
– others

• Runtime
– Node.js
– Trire...
Node.js
•
•
•
•

Server-side platform for JavaScript
Support for HTTP(s)
Scalable and fast
Huge third-party community
Argo
• A framework for APIs
• A framework for proxies
• Middleware support

6
Volos
• Node.js modules for API management
–
–
–
–

OAuth
Quota
Cache
more to come

• MIT License
• Multiple back ends

7
Demo: Building a Simple API

8
Apigee Support
Node.js Support in Apigee
• Deploy Node.js applications to Apigee
– Directly from UI
– From source code

• Third party mod...
Using the Apigee UI
• Demo…

11
Deploying to Apigee
• Demo…

12
Volos

13
Introduction to Volos
• OAuth 2.0
– Add OAuth 2.0 authorization support to any API
– Redis back end
– Apigee back end – ma...
Volos Modules
• Add a quota to the app using the volos-quota module
• Deploy it to Apigee

15
Demo: Basic Volos App

16
Demo: More Complete App
We would love your feedback!
Don’t forget to fill out the session’s
survey – found in the session details
on the conferenc...
Upcoming SlideShare
Loading in...5
×

Building Production-Ready APIs With Node.js

2,126

Published on

Learn how to build an API using Node.js and open source tools. We will show how to construct a simple API, how to add OAuth authorization and other features, and how to deploy it to Apigee.

Published in: Technology, Education
0 Comments
5 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
2,126
On Slideshare
0
From Embeds
0
Number of Embeds
5
Actions
Shares
0
Downloads
89
Comments
0
Likes
5
Embeds 0
No embeds

No notes for slide

Transcript of "Building Production-Ready APIs With Node.js"

  1. 1. Building APIs with Node.js Greg Brail, Scott Ganyo and Kevin Swiber
  2. 2. Overview • • • • Introduction to the stack Building a simple API Deploying it Adding API Features using Volos 2
  3. 3. Introduction to the Stack 3
  4. 4. Node.js Stack • API Middleware – Volos • Web app and API framework – Argo – Express – others • Runtime – Node.js – Trireme
  5. 5. Node.js • • • • Server-side platform for JavaScript Support for HTTP(s) Scalable and fast Huge third-party community
  6. 6. Argo • A framework for APIs • A framework for proxies • Middleware support 6
  7. 7. Volos • Node.js modules for API management – – – – OAuth Quota Cache more to come • MIT License • Multiple back ends 7
  8. 8. Demo: Building a Simple API 8
  9. 9. Apigee Support
  10. 10. Node.js Support in Apigee • Deploy Node.js applications to Apigee – Directly from UI – From source code • Third party module support • Combine with other policies
  11. 11. Using the Apigee UI • Demo… 11
  12. 12. Deploying to Apigee • Demo… 12
  13. 13. Volos 13
  14. 14. Introduction to Volos • OAuth 2.0 – Add OAuth 2.0 authorization support to any API – Redis back end – Apigee back end – makes API calls to Apigee • Quota – Count API calls by time and by any identifier (API key, etc.) – Local back end (in memory) – Apigee back end • Cache – Cache arbitrary data – Local back end (in memory) – Redis and Apigee in the works • More to come – Open source…
  15. 15. Volos Modules • Add a quota to the app using the volos-quota module • Deploy it to Apigee 15
  16. 16. Demo: Basic Volos App 16
  17. 17. Demo: More Complete App
  18. 18. We would love your feedback! Don’t forget to fill out the session’s survey – found in the session details on the conference app #iloveapis Thank you
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×