Skip to content

Latest commit

 

History

18 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

featureflow-node-example

Example implementation with Express for featureflow-node-sdk

Get your Featureflow account at featureflow.io

##Usage

Copy .env.example to .env and set FEATUREFLOW_API_KEY to your Server Environment SDK Key from the API Keys link in featureflow.io - (the one starting 'srv-env-')

cp .env.example .env

Run the node example app and browse to the standard http://localhost:3000/

yarn install
yarn start

or run/debug via the "Launch Featureflow Example" configuration in your IDE (see .vscode/launch.json)

app.js shows us creating a basic middleware function to define the featureflow client at request time.

We subsequently register the Featureflow.ExpressClient middleware.

routes\index.js Shows us evaluating a feature at request time.

About

Featureflow example for node/express application

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages