NodeJS

Express Installation

Guided Install

When you launch Judoscale for the first time, you'll be prompted to install an adapter library:

Screenshot: Judoscale package installation instructions

When you select ExpressJS from this list, you'll see the instructions shown below. You can follow the instructions within the app, or you can follow along here.

Manual Install

Express Web Process

Installing Judoscale for an Express application is as simple as running either npm install judoscale-express or yarn add judoscale-express (depending on your chosen package manager)! Once installed, you'll just need to import and integrate the Express middleware:

import judoscale from 'judoscale-express'

// default configuration
app.use(judoscale())

Check out the judoscale-express README for configuration options and troubleshooting.

Advanced Express Adapter Configuration

Code-level hooks for custom configs

Previous
Where is Rails Autoscale?