SlideShare una empresa de Scribd logo
1 de 26
16 October 2014 
Build APIs in Node.js & Swagger 
2.0 with Apigee-127 
Jeff West / Marsh Gardiner
Today’s speakers 
Jeff West 
@jeffreyawest 
Marsh Gardiner 
@earth2marsh
Apigee social channels 
© 2014 Apigee – For Public display 
3 
YouTube 
http://youtube.com/apigee 
Slideshare 
http://slideshare.com/apigee
Agenda 
• JavaScript & APIs 
• Apigee and Swagger 2.0 
• Apigee-127 Overview 
• Apigee-127 Demo 
• Q&A 
© 2014 Apigee – For Public display
Who is this webcast for 
© 2014 Apigee – For Public display 
5 
• API Developers & Designers building new APIs 
• Node.js Developers interested in APIs – from n00b to expert 
• API Developers & Designers Interested in using/learning 
about Swagger 2.0
JavaScript & APIs 
6
JavaScript For APIs 
• On Apigee: 
– 67% of developers use JavaScript 
– 30% of developers use Node.js 
© 2014 Apigee – For Public display
Who Uses Node.js ? 
© 2014 Apigee – For Public display 8
Swagger & Apigee 
9
The Swagger Ecosystem 
• 10,000+ production instances 
• 2,000+ downloads/day of Java version 
• 10,000+ developers using 
• Thousands of devs contributing 
• 500+ people in the Working Group 
© 2014 Apigee – For Public display
Swagger 2.0 
• JSON and YAML formats 
– Enable top-down and bottom-up workflows 
• Code & documentation generation 
– Programming language agnostic 
• Vendor extensions 
• Cross-industry participation 
– Apigee, Getty Images, Intuit, Kaplan, 
LivingSocial, McKesson, Microsoft, 
Morningstar, PayPal, and many more 
© 2014 Apigee – For Public display
12
Apigee-127 Overview 
13
14 
npm install -g apigee-127 
http://github.com/apigee-127
Dynamic Server Generation 
No static files generated: Apigee-127 works directly from the 
Swagger spec! 
© 2014 Apigee – For Public display 
Apigee 
Extensions
Enterprise-Class APIs, Really Fast 
We Handle These: 
• Swagger Tools (OSS, from Apigee): 
• Message validation & routing 
• Authorization (OAuth 2.0) 
• Node.js Policies (OSS, from Apigee): 
• Caching (Apigee Swagger 2.0 
Extension) 
• Quota (Apigee Swagger 2.0 Extension) 
• Analytics (Apigee Swagger 2.0 
Extension) 
You Handle This: 
• Business logic 
© 2014 Apigee – For Public display 
Controller 
Controller.js
Apigee-127 Development Environment 
© 2014 Apigee – For Public display 
17 
• Swagger Editor: 
https://github.com/wordnik/swagger-editor 
• Swagger Tools: 
https://github.com/apigee- 
127/swagger-tools 
• Volos.js: https://github.com/apigee- 
127/volos/ 
• Apache Usergrid (downloaded 
separately, using a127): 
https://github.com/apache/incubator-usergrid/
Apigee-127 Demo 
18
Open Source, Extensible API Services 
• Node.js solution for developing and deploying production-level 
APIs 
• npm install volos-{service}-{provider} 
• Services: 
– Caching 
– OAuth 2.0 
– Quota 
– Analytics 
– Vault 
© 2014 Apigee – For Public display 
• Providers: 
– Memory 
– Redis 
– Apigee (on Apigee or Remote)
Execution Environment Options 
127 On-Premises / 
PaaS 
Anywhere / PaaS 
127 On Edge 
127 
127 On-Premises / 
PaaS + Edge 
Anywhere / PaaS 
127 127 
© 2014 Apigee – For Public display 20
Execution Environment Options 
© 2014 Apigee – For Public display 
21 
• Apigee Edge provides a robust production-grade execution 
environment with the following services: 
– Highly Available Distributed Caching 
– Highly Available Distributed Quota 
– Highly Available Distributed OAuth 
– Highly Available API BaaS 
– Highly Available Configuration Management (Key-Value Store) 
– Policy Execution Engine 
• If you want to run a Node.js API somewhere other than 
Apigee Edge they will need to implement these services
Upcoming FREE Training Sessions 
© 2014 Apigee – For Public display 
22 
The ABCs of APIs on Node.js and Swagger 
with Apigee’s Greg Rewis 
Coming to a city near you and online on Apigee Academy!
Apigee-127 Resources 
© 2014 Apigee – For Public display 
23 
• Wiki: https://github.com/apigee-127/a127- 
documentation/wiki 
• Help: https://github.com/apigee-127/a127- 
documentation/wiki/help 
• Sign up for announcements with the a127 Google Group: 
https://groups.google.com/forum/#!forum/a127 
• Community Support: http://community.apigee.com
Apigee Community Site 
© 2014 Apigee – For Public display 
24 
http://community.apigee.com
Questions? 
Jeff West 
@jeffreyawest 
Marsh Gardiner 
@earth2marsh
Thank you 
© 2014 Apigee – For Public display

Más contenido relacionado

La actualidad más candente

La actualidad más candente (20)

Cloud-native Patterns (July 4th, 2019)
Cloud-native Patterns (July 4th, 2019)Cloud-native Patterns (July 4th, 2019)
Cloud-native Patterns (July 4th, 2019)
 
apidays LIVE New York - Navigating the Sea of Javascript Tools to Discover Sc...
apidays LIVE New York - Navigating the Sea of Javascript Tools to Discover Sc...apidays LIVE New York - Navigating the Sea of Javascript Tools to Discover Sc...
apidays LIVE New York - Navigating the Sea of Javascript Tools to Discover Sc...
 
Transforming Your Business Through APIs
Transforming Your Business Through APIsTransforming Your Business Through APIs
Transforming Your Business Through APIs
 
The Swagger Format becomes the Open API Specification: Standardizing descript...
The Swagger Format becomes the Open API Specification: Standardizing descript...The Swagger Format becomes the Open API Specification: Standardizing descript...
The Swagger Format becomes the Open API Specification: Standardizing descript...
 
apidays LIVE Paris 2021 - APIGEE, different ways for integrating with CI/CD p...
apidays LIVE Paris 2021 - APIGEE, different ways for integrating with CI/CD p...apidays LIVE Paris 2021 - APIGEE, different ways for integrating with CI/CD p...
apidays LIVE Paris 2021 - APIGEE, different ways for integrating with CI/CD p...
 
APIs: The New Security Layer
APIs: The New Security LayerAPIs: The New Security Layer
APIs: The New Security Layer
 
Why choose Angular 6?
Why choose Angular 6?Why choose Angular 6?
Why choose Angular 6?
 
Pivotal + Apigee Workshop (June 4th, 2019)
Pivotal + Apigee Workshop (June 4th, 2019)Pivotal + Apigee Workshop (June 4th, 2019)
Pivotal + Apigee Workshop (June 4th, 2019)
 
Lessons Learned from Revamping Our Doc Site
Lessons Learned from Revamping Our Doc SiteLessons Learned from Revamping Our Doc Site
Lessons Learned from Revamping Our Doc Site
 
DevOps DDay - Streamline DevOps Workflows With APIs
DevOps DDay - Streamline DevOps Workflows With APIsDevOps DDay - Streamline DevOps Workflows With APIs
DevOps DDay - Streamline DevOps Workflows With APIs
 
Ng spain
Ng spainNg spain
Ng spain
 
apidays LIVE New York - API Lifecycle Management - Avoiding Breaches By Secur...
apidays LIVE New York - API Lifecycle Management - Avoiding Breaches By Secur...apidays LIVE New York - API Lifecycle Management - Avoiding Breaches By Secur...
apidays LIVE New York - API Lifecycle Management - Avoiding Breaches By Secur...
 
APIdays 2016 - The State of Web API Languages
APIdays 2016  - The State of Web API LanguagesAPIdays 2016  - The State of Web API Languages
APIdays 2016 - The State of Web API Languages
 
Testing on Mobile Devices with Location Services
Testing on Mobile Devices with Location ServicesTesting on Mobile Devices with Location Services
Testing on Mobile Devices with Location Services
 
APIdays Paris 2019 - API Security Tips for Developers by Isabelle Mauny, 42Cr...
APIdays Paris 2019 - API Security Tips for Developers by Isabelle Mauny, 42Cr...APIdays Paris 2019 - API Security Tips for Developers by Isabelle Mauny, 42Cr...
APIdays Paris 2019 - API Security Tips for Developers by Isabelle Mauny, 42Cr...
 
API Management - Practical Enterprise Implementation Experience
API Management - Practical Enterprise Implementation ExperienceAPI Management - Practical Enterprise Implementation Experience
API Management - Practical Enterprise Implementation Experience
 
YAGNI, YMMV and APIs: building a hybrid strategy for your API platform.
YAGNI, YMMV and APIs: building a hybrid strategy for your API platform.YAGNI, YMMV and APIs: building a hybrid strategy for your API platform.
YAGNI, YMMV and APIs: building a hybrid strategy for your API platform.
 
Apigee deploy grunt plugin.1.0
Apigee deploy grunt plugin.1.0Apigee deploy grunt plugin.1.0
Apigee deploy grunt plugin.1.0
 
Executing on API Developer Experience
Executing on API Developer Experience Executing on API Developer Experience
Executing on API Developer Experience
 
Akamai-as-Code with The Washington Post
Akamai-as-Code with The Washington PostAkamai-as-Code with The Washington Post
Akamai-as-Code with The Washington Post
 

Destacado

API Centric Development in PHP
API Centric Development in PHPAPI Centric Development in PHP
API Centric Development in PHP
Joe Stagner
 

Destacado (20)

Building APIs with Node.js and Swagger
Building APIs with Node.js and SwaggerBuilding APIs with Node.js and Swagger
Building APIs with Node.js and Swagger
 
Webcast: Pragmatic REST: The Next Generation
Webcast: Pragmatic REST: The Next GenerationWebcast: Pragmatic REST: The Next Generation
Webcast: Pragmatic REST: The Next Generation
 
API Centric Development in PHP
API Centric Development in PHPAPI Centric Development in PHP
API Centric Development in PHP
 
Pragmatic REST: recent trends in API design
Pragmatic REST: recent trends in API designPragmatic REST: recent trends in API design
Pragmatic REST: recent trends in API design
 
Swagger for-your-api
Swagger for-your-apiSwagger for-your-api
Swagger for-your-api
 
Concept of flexible open api server with node.js
Concept of  flexible open api server with node.jsConcept of  flexible open api server with node.js
Concept of flexible open api server with node.js
 
Rest API with Swagger and NodeJS
Rest API with Swagger and NodeJSRest API with Swagger and NodeJS
Rest API with Swagger and NodeJS
 
Swagger - make your API accessible
Swagger - make your API accessibleSwagger - make your API accessible
Swagger - make your API accessible
 
Proliferating OpenAPI at Google
Proliferating OpenAPI at GoogleProliferating OpenAPI at Google
Proliferating OpenAPI at Google
 
Mozilla And Open Web
Mozilla And Open WebMozilla And Open Web
Mozilla And Open Web
 
Zipping through the OpenAPI with Capital One
Zipping through the OpenAPI with Capital OneZipping through the OpenAPI with Capital One
Zipping through the OpenAPI with Capital One
 
API Workshop: Deep dive into REST APIs
API Workshop: Deep dive into REST APIsAPI Workshop: Deep dive into REST APIs
API Workshop: Deep dive into REST APIs
 
Enterprise API New Features and Roadmap
Enterprise API New Features and RoadmapEnterprise API New Features and Roadmap
Enterprise API New Features and Roadmap
 
Swagger & OpenAPI Spec #openapi
Swagger & OpenAPI Spec #openapiSwagger & OpenAPI Spec #openapi
Swagger & OpenAPI Spec #openapi
 
Webcast: API-Centric Architecture for Building Context-Aware Apps
Webcast: API-Centric Architecture for Building Context-Aware AppsWebcast: API-Centric Architecture for Building Context-Aware Apps
Webcast: API-Centric Architecture for Building Context-Aware Apps
 
Api types
Api typesApi types
Api types
 
OpenAPI Spec at Google (Open API Initiative Meetup on 2016-09-15)
OpenAPI Spec at Google (Open API Initiative Meetup on 2016-09-15)OpenAPI Spec at Google (Open API Initiative Meetup on 2016-09-15)
OpenAPI Spec at Google (Open API Initiative Meetup on 2016-09-15)
 
Developing Faster with Swagger
Developing Faster with SwaggerDeveloping Faster with Swagger
Developing Faster with Swagger
 
Swagger / Quick Start Guide
Swagger / Quick Start GuideSwagger / Quick Start Guide
Swagger / Quick Start Guide
 
API Design first with Swagger
API Design first with SwaggerAPI Design first with Swagger
API Design first with Swagger
 

Similar a Build APIs in Node.js and Swagger 2.0 with Apigee-127

Amazon Web Services and PaaS - Enterprise Java for the Cloud Era? - Mark Pric...
Amazon Web Services and PaaS - Enterprise Java for the Cloud Era? - Mark Pric...Amazon Web Services and PaaS - Enterprise Java for the Cloud Era? - Mark Pric...
Amazon Web Services and PaaS - Enterprise Java for the Cloud Era? - Mark Pric...
jaxconf
 
I Love APIs 2015 API Lab Design-first API Development Using Node and Swagger
I Love APIs 2015 API Lab Design-first API Development Using Node and SwaggerI Love APIs 2015 API Lab Design-first API Development Using Node and Swagger
I Love APIs 2015 API Lab Design-first API Development Using Node and Swagger
Apigee | Google Cloud
 

Similar a Build APIs in Node.js and Swagger 2.0 with Apigee-127 (20)

Building APIs with Apigee Edge and Microsoft Azure
Building APIs with Apigee Edge and Microsoft AzureBuilding APIs with Apigee Edge and Microsoft Azure
Building APIs with Apigee Edge and Microsoft Azure
 
Amol chawathe hybridapps
Amol chawathe hybridappsAmol chawathe hybridapps
Amol chawathe hybridapps
 
Introduction to Google App Engine
Introduction to Google App EngineIntroduction to Google App Engine
Introduction to Google App Engine
 
API Services: Harness the Power of Enterprise Infrastructure
API Services: Harness the Power of Enterprise InfrastructureAPI Services: Harness the Power of Enterprise Infrastructure
API Services: Harness the Power of Enterprise Infrastructure
 
Building share point apps with angularjs
Building share point apps with angularjsBuilding share point apps with angularjs
Building share point apps with angularjs
 
API Services: Building State-of-the-Art APIs
API Services: Building State-of-the-Art APIsAPI Services: Building State-of-the-Art APIs
API Services: Building State-of-the-Art APIs
 
Working effectively with OpenShift
Working effectively with OpenShiftWorking effectively with OpenShift
Working effectively with OpenShift
 
Building Node.js applications for Microsoft Azure cloud
Building Node.js applications for Microsoft Azure cloudBuilding Node.js applications for Microsoft Azure cloud
Building Node.js applications for Microsoft Azure cloud
 
I Love APIs 2015 : Zero to Thousands TPS Private Cloud Operations Workshop
I Love APIs 2015 : Zero to Thousands TPS Private Cloud Operations WorkshopI Love APIs 2015 : Zero to Thousands TPS Private Cloud Operations Workshop
I Love APIs 2015 : Zero to Thousands TPS Private Cloud Operations Workshop
 
Apigee Products Overview
Apigee Products OverviewApigee Products Overview
Apigee Products Overview
 
Amazon Web Services and PaaS - Enterprise Java for the Cloud Era? - Mark Pric...
Amazon Web Services and PaaS - Enterprise Java for the Cloud Era? - Mark Pric...Amazon Web Services and PaaS - Enterprise Java for the Cloud Era? - Mark Pric...
Amazon Web Services and PaaS - Enterprise Java for the Cloud Era? - Mark Pric...
 
Continuous API Strategies for Integrated Platforms
 Continuous API Strategies for Integrated Platforms Continuous API Strategies for Integrated Platforms
Continuous API Strategies for Integrated Platforms
 
Webcast: Apigee Edge Product Demo
Webcast: Apigee Edge Product DemoWebcast: Apigee Edge Product Demo
Webcast: Apigee Edge Product Demo
 
I Love APIs 2015: Apigee and Node.js Building Mock Backends Fast
I Love APIs 2015: Apigee and Node.js Building Mock Backends FastI Love APIs 2015: Apigee and Node.js Building Mock Backends Fast
I Love APIs 2015: Apigee and Node.js Building Mock Backends Fast
 
Developer Services: Making Developers Successful
Developer Services: Making Developers SuccessfulDeveloper Services: Making Developers Successful
Developer Services: Making Developers Successful
 
DOES16 London - Darren Hague - SAP’s DevOps Journey: From Building an App to ...
DOES16 London - Darren Hague - SAP’s DevOps Journey: From Building an App to ...DOES16 London - Darren Hague - SAP’s DevOps Journey: From Building an App to ...
DOES16 London - Darren Hague - SAP’s DevOps Journey: From Building an App to ...
 
Elevating Development: Embracing APIOps for Enhanced Developer Productivity
Elevating Development: Embracing APIOps for Enhanced Developer ProductivityElevating Development: Embracing APIOps for Enhanced Developer Productivity
Elevating Development: Embracing APIOps for Enhanced Developer Productivity
 
SAP Cloud Platform API Management Technical Brief
SAP Cloud Platform API Management Technical BriefSAP Cloud Platform API Management Technical Brief
SAP Cloud Platform API Management Technical Brief
 
Leveraging VMware Technology To Build an Enterprise Grade Openstack Cloud - I...
Leveraging VMware Technology To Build an Enterprise Grade Openstack Cloud - I...Leveraging VMware Technology To Build an Enterprise Grade Openstack Cloud - I...
Leveraging VMware Technology To Build an Enterprise Grade Openstack Cloud - I...
 
I Love APIs 2015 API Lab Design-first API Development Using Node and Swagger
I Love APIs 2015 API Lab Design-first API Development Using Node and SwaggerI Love APIs 2015 API Lab Design-first API Development Using Node and Swagger
I Love APIs 2015 API Lab Design-first API Development Using Node and Swagger
 

Más de Apigee | Google Cloud

Más de Apigee | Google Cloud (20)

How Secure Are Your APIs?
How Secure Are Your APIs?How Secure Are Your APIs?
How Secure Are Your APIs?
 
Magazine Luiza at a glance (1)
Magazine Luiza at a glance (1)Magazine Luiza at a glance (1)
Magazine Luiza at a glance (1)
 
Monetization: Unlock More Value from Your APIs
Monetization: Unlock More Value from Your APIs Monetization: Unlock More Value from Your APIs
Monetization: Unlock More Value from Your APIs
 
Apigee Demo: API Platform Overview
Apigee Demo: API Platform OverviewApigee Demo: API Platform Overview
Apigee Demo: API Platform Overview
 
Ticketmaster at a glance
Ticketmaster at a glanceTicketmaster at a glance
Ticketmaster at a glance
 
AccuWeather: Recasting API Experiences in a Developer-First World
AccuWeather: Recasting API Experiences in a Developer-First WorldAccuWeather: Recasting API Experiences in a Developer-First World
AccuWeather: Recasting API Experiences in a Developer-First World
 
Which Application Modernization Pattern Is Right For You?
Which Application Modernization Pattern Is Right For You?Which Application Modernization Pattern Is Right For You?
Which Application Modernization Pattern Is Right For You?
 
Apigee Product Roadmap Part 2
Apigee Product Roadmap Part 2Apigee Product Roadmap Part 2
Apigee Product Roadmap Part 2
 
The Four Transformative Forces of the API Management Market
The Four Transformative Forces of the API Management MarketThe Four Transformative Forces of the API Management Market
The Four Transformative Forces of the API Management Market
 
Walgreens at a glance
Walgreens at a glanceWalgreens at a glance
Walgreens at a glance
 
Managing the Complexity of Microservices Deployments
Managing the Complexity of Microservices DeploymentsManaging the Complexity of Microservices Deployments
Managing the Complexity of Microservices Deployments
 
Pitney Bowes at a glance
Pitney Bowes at a glancePitney Bowes at a glance
Pitney Bowes at a glance
 
Microservices Done Right: Key Ingredients for Microservices Success
Microservices Done Right: Key Ingredients for Microservices SuccessMicroservices Done Right: Key Ingredients for Microservices Success
Microservices Done Right: Key Ingredients for Microservices Success
 
Adapt or Die: Opening Keynote with Chet Kapoor
Adapt or Die: Opening Keynote with Chet KapoorAdapt or Die: Opening Keynote with Chet Kapoor
Adapt or Die: Opening Keynote with Chet Kapoor
 
Adapt or Die: Keynote with Greg Brail
Adapt or Die: Keynote with Greg BrailAdapt or Die: Keynote with Greg Brail
Adapt or Die: Keynote with Greg Brail
 
Adapt or Die: Keynote with Anant Jhingran
Adapt or Die: Keynote with Anant JhingranAdapt or Die: Keynote with Anant Jhingran
Adapt or Die: Keynote with Anant Jhingran
 
London Adapt or Die: Opening Keynot
London Adapt or Die: Opening KeynotLondon Adapt or Die: Opening Keynot
London Adapt or Die: Opening Keynot
 
London Adapt or Die: Lunch keynote
London Adapt or Die: Lunch keynoteLondon Adapt or Die: Lunch keynote
London Adapt or Die: Lunch keynote
 
London Adapt or Die: Closing Keynote — Adapt Now!
London Adapt or Die: Closing Keynote — Adapt Now!London Adapt or Die: Closing Keynote — Adapt Now!
London Adapt or Die: Closing Keynote — Adapt Now!
 
London adapt or-die opening keynote chet kapoor
London adapt or-die opening keynote chet kapoorLondon adapt or-die opening keynote chet kapoor
London adapt or-die opening keynote chet kapoor
 

Último

introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdfintroduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
VishalKumarJha10
 
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM TechniquesAI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
VictorSzoltysek
 

Último (20)

Software Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsSoftware Quality Assurance Interview Questions
Software Quality Assurance Interview Questions
 
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfThe Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
 
The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...
The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...
The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...
 
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
 
10 Trends Likely to Shape Enterprise Technology in 2024
10 Trends Likely to Shape Enterprise Technology in 202410 Trends Likely to Shape Enterprise Technology in 2024
10 Trends Likely to Shape Enterprise Technology in 2024
 
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdfintroduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTV
 
How To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.jsHow To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.js
 
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS LiveVip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
 
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
Direct Style Effect Systems -The Print[A] Example- A Comprehension AidDirect Style Effect Systems -The Print[A] Example- A Comprehension Aid
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
 
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial Goals
 
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
 
Define the academic and professional writing..pdf
Define the academic and professional writing..pdfDefine the academic and professional writing..pdf
Define the academic and professional writing..pdf
 
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf
 
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comHR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.com
 
VTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnVTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learn
 
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM TechniquesAI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
 

Build APIs in Node.js and Swagger 2.0 with Apigee-127

  • 1. 16 October 2014 Build APIs in Node.js & Swagger 2.0 with Apigee-127 Jeff West / Marsh Gardiner
  • 2. Today’s speakers Jeff West @jeffreyawest Marsh Gardiner @earth2marsh
  • 3. Apigee social channels © 2014 Apigee – For Public display 3 YouTube http://youtube.com/apigee Slideshare http://slideshare.com/apigee
  • 4. Agenda • JavaScript & APIs • Apigee and Swagger 2.0 • Apigee-127 Overview • Apigee-127 Demo • Q&A © 2014 Apigee – For Public display
  • 5. Who is this webcast for © 2014 Apigee – For Public display 5 • API Developers & Designers building new APIs • Node.js Developers interested in APIs – from n00b to expert • API Developers & Designers Interested in using/learning about Swagger 2.0
  • 7. JavaScript For APIs • On Apigee: – 67% of developers use JavaScript – 30% of developers use Node.js © 2014 Apigee – For Public display
  • 8. Who Uses Node.js ? © 2014 Apigee – For Public display 8
  • 10. The Swagger Ecosystem • 10,000+ production instances • 2,000+ downloads/day of Java version • 10,000+ developers using • Thousands of devs contributing • 500+ people in the Working Group © 2014 Apigee – For Public display
  • 11. Swagger 2.0 • JSON and YAML formats – Enable top-down and bottom-up workflows • Code & documentation generation – Programming language agnostic • Vendor extensions • Cross-industry participation – Apigee, Getty Images, Intuit, Kaplan, LivingSocial, McKesson, Microsoft, Morningstar, PayPal, and many more © 2014 Apigee – For Public display
  • 12. 12
  • 14. 14 npm install -g apigee-127 http://github.com/apigee-127
  • 15. Dynamic Server Generation No static files generated: Apigee-127 works directly from the Swagger spec! © 2014 Apigee – For Public display Apigee Extensions
  • 16. Enterprise-Class APIs, Really Fast We Handle These: • Swagger Tools (OSS, from Apigee): • Message validation & routing • Authorization (OAuth 2.0) • Node.js Policies (OSS, from Apigee): • Caching (Apigee Swagger 2.0 Extension) • Quota (Apigee Swagger 2.0 Extension) • Analytics (Apigee Swagger 2.0 Extension) You Handle This: • Business logic © 2014 Apigee – For Public display Controller Controller.js
  • 17. Apigee-127 Development Environment © 2014 Apigee – For Public display 17 • Swagger Editor: https://github.com/wordnik/swagger-editor • Swagger Tools: https://github.com/apigee- 127/swagger-tools • Volos.js: https://github.com/apigee- 127/volos/ • Apache Usergrid (downloaded separately, using a127): https://github.com/apache/incubator-usergrid/
  • 19. Open Source, Extensible API Services • Node.js solution for developing and deploying production-level APIs • npm install volos-{service}-{provider} • Services: – Caching – OAuth 2.0 – Quota – Analytics – Vault © 2014 Apigee – For Public display • Providers: – Memory – Redis – Apigee (on Apigee or Remote)
  • 20. Execution Environment Options 127 On-Premises / PaaS Anywhere / PaaS 127 On Edge 127 127 On-Premises / PaaS + Edge Anywhere / PaaS 127 127 © 2014 Apigee – For Public display 20
  • 21. Execution Environment Options © 2014 Apigee – For Public display 21 • Apigee Edge provides a robust production-grade execution environment with the following services: – Highly Available Distributed Caching – Highly Available Distributed Quota – Highly Available Distributed OAuth – Highly Available API BaaS – Highly Available Configuration Management (Key-Value Store) – Policy Execution Engine • If you want to run a Node.js API somewhere other than Apigee Edge they will need to implement these services
  • 22. Upcoming FREE Training Sessions © 2014 Apigee – For Public display 22 The ABCs of APIs on Node.js and Swagger with Apigee’s Greg Rewis Coming to a city near you and online on Apigee Academy!
  • 23. Apigee-127 Resources © 2014 Apigee – For Public display 23 • Wiki: https://github.com/apigee-127/a127- documentation/wiki • Help: https://github.com/apigee-127/a127- documentation/wiki/help • Sign up for announcements with the a127 Google Group: https://groups.google.com/forum/#!forum/a127 • Community Support: http://community.apigee.com
  • 24. Apigee Community Site © 2014 Apigee – For Public display 24 http://community.apigee.com
  • 25. Questions? Jeff West @jeffreyawest Marsh Gardiner @earth2marsh
  • 26. Thank you © 2014 Apigee – For Public display

Notas del editor

  1. A study of our platform and found that a majority of developers use JavaScript in their APIs. Sometimes for simple logic and sometimes for full API implementation in Node.js. JavaScript is a great language for APIs. Web developers use JavaScript every day to deliver great experiences through their apps. With JavaScript for APIs, developers can use the same language to build the APIs they need to enable those experiences - side-by-side with the applications themselves – without switching languages.
  2. At Apigee we’re all-in on the swagger specification for API modeling. Swagger supports both YAML and JSON formats and enables you to generate both server and client code as well as documentation. Vendor extensions have been added to 2.0 as well. This allows you to take advantage of value-added services from vendors like Apigee using metadata - and without writing a single line of vendor specific code. The Swagger 2.0 working group is lead by Tony Tam at Wordnik and includes representatives from software vendors like Apigee, Microsoft and Symantec. It also includes companies who build and consume APIs such as Mckesson, Morningstar and Kaplan. This is very important to note – this is not just a group of vendors or worse just one vendor coming up with ideas about how this should be done. We have representation from end-customers of APIs and system integrators in addition to vendors.
  3. At Apigee we’re all-in on the swagger specification for API modeling. Swagger supports both YAML and JSON formats and enables you to generate both server and client code as well as documentation. Vendor extensions have been added to 2.0 as well. This allows you to take advantage of value-added services from vendors like Apigee using metadata - and without writing a single line of vendor specific code. The Swagger 2.0 working group is lead by Tony Tam at Wordnik and includes representatives from software vendors like Apigee, Microsoft and Symantec. It also includes companies who build and consume APIs such as Mckesson, Morningstar and Kaplan. This is very important to note – this is not just a group of vendors or worse just one vendor coming up with ideas about how this should be done. We have representation from end-customers of APIs and system integrators in addition to vendors.
  4. The focal point of Apigee 127 is the swagger editor. Apigee built and contributed the swagger editor to the open source community and we are really proud of it. . It provides a great authoring experience for building API specs. On the left-hand side, you have YAML and on the right side you have a preview of what your documentation could look like with the swagger UI. With the swagger editor you define the metadata associated with your API such as your resource paths, operations, parameters and request and response models. This metadata can be used to generate servers and clients in many different programming languages in addition to documentation. As an Apigee customer, you can take models like this and generate rich, interactive documentation called smartdocs that really shows off your API.
  5. Apigee 127 is available now and can be installed using NPM. We’ve been building it in the open on GitHub for a few months and we’re in great shape to start having developers use it. We are using GitHub issues for tracking problems, so if you have problems you have a channel to get help. The – G option is necessary to put the a127 cli on your path. This tool enables you to create projects and manage their lifecycle, including deploying them to Apigee.
  6. Apigee 127 provides tooling to take this model and generate a node application which uses the metadata to perform typical API functions like message validation, caching, quota, authorization. The metadata in the Swagger spec drives the behavior of the server! It’s really awesome.
  7. With the Apigee 127 programming model the only code that you need to write is the business logic to support the operations you want to expose an API. We address all of the standard functions associated with an API. We accomplish this using the swagger tools that we provided to the community as well as the Volos JS libraries and extensions to the swagger specification. This gives you a great starting point for building new APIs. However, you can also plug in your existing Node code and still take advantage of this approach. If you are worried about vendor lock-in you have nothing to fear, just because you use our extensions to the specification doesn’t mean you’re locked into apigee.
  8. As the name implies Apigee127 provides a development environment that it can be completely run on a developer’s laptop. On the right you can see the different models that we have contributed to make this possible. In addition to the tools for building APIs we also provide a really great experience with Apache Usergrid which is the open-source version of Apigee’s Backend as a Service on your laptop. http://www.ptisd.org/users/0001/Clipart/macbook-800wi.jpg
  9. Volos gives API developers a service provider framework they can use to wire services into their APIs like Caching, Quota and OAuth. It’s also designed in a way that is completely extensible. For instance, if you wanted to use memcached for caching you can write a simple module that integrates with the Volos framework. When you develop APIs using Volos, you can do things locally like in-memory caching or redis-backed quota management – and when you deploy them to Apigee you can leverage the Apigee’s distributed caching and distributed quota with little or no code changes. This is a really powerful tool that we have in our arsenal and you’ll be hearing a lot more about it.