Overview of Node.js on Apigee Edge

This topic introduces Apigee Edge support for Node.js.

About Node.js on Apigee Edge

Node.js on Apigee Edge adds more programmability to the Edge API platform. Running on Edge, Node.js apps take advantage of Edge's enterprise-grade cloud operations like traffic management, security, deployment tools, revision control, logging, and analytics. Furthermore, you can leverage thousands of third-party Node.js modules in your APIs.

Enterprise developers have found many creative ways to integrate Node.js applications into the Edge platform. Some common use cases include:

  • Build highly customized standalone APIs and backend services.
  • Build backend logic for API BaaS to leverage cloud data storage and management, user management, push notifications, and more.
  • Solve complex orchestration and mobile optimization problems using Apigee policies with the advantage of a scriptable target endpoint.
  • Build composite services and mashups.
  • Rapidly develop prototypes of new APIs using frameworks like Express, Argo, and Usergrid.
As you explore our set of Node.js topics, you will learn how to create API proxies with Node.js on Apigee Edge and how to deploy your existing Node.js applications to Edge.

Show me the code!

The Node.js repository contains a number of basic examples from deploying a simple Hello World! server to an employee database API that leverages a cloud-based datastore.

We also recommend that you explore the Node.js samples in the API proxy cookbook. The cookbook samples focus on common problem-solving patterns related to API development, like writing backend Node.js logic to interact with API BaaS. See, for example, Using Node.js to communicate with a backend data store.

Instructions for deploying and calling each sample API proxy are provided in the README file that comes with the sample.

Webinar: Learn about Node.js on Apigee Edge

This webinar (56 minutes) covers the basics of Node.js support in Apigee Edge. You'll learn about real-world use cases for coding API proxies in Node.js and running them on Apigee Edge. The webinar also introduces open-source projects like Volos and Argo that help you write APIs and API proxies in Node.js.

Webinar: A more detailed look at Node.js on Apigee Edge

For a more detailed discussion of Node.js on Apigee Edge, check out this video (53 minutes). The video covers the basics of building a Node.js app and deploying it to Apigee Edge. It discusses options for building new APIs in Apigee and offers examples of orchestration and transformation tasks coded in Node.js.

Performance tips

See Node.js Performance Tips: Socket Pooling in the Apigee Community.

Next Steps

Now that you know a little about Node.js support in Apigee Edge, it's time to see Node.js on Edge in action. In the next topic, Getting started with Node.js on Apigee Edge, we'll show you how to proxy a very simple "Hello World" Node.js app on Apigee Edge using the management UI. Later, we'll show you how to deploy Node.js apps directly from your development machine to Edge using the command-line interface.