Writing Node.js Scripts in DreamFactory

Tutorial··6 min 6 sec

How to attach Node.js logic to a generated API endpoint, covering where the script runs in the request lifecycle and what it can reach. The JavaScript counterpart to the Python and PHP scripting tutorials.

Recorded in 2016. The concepts still apply, but the interface shown predates the current DreamFactory release. Some steps may differ in the current release.

What you’ll learn

  • Attaching Node.js logic to a generated endpoint
  • Where the script runs in the request lifecycle
  • What the script can reach and modify