Skip to content

unlaunch/hello-node

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

hello-node

Hello Unlaunch, from Node!

This is a demo project showing how to integrate the Unlaunch Node SDK in Node applications. For more details, read our Getting Started tutorial.

Unlaunch is a free feature flag service. Please visit https://www.unlaunch.io to sign up for a new account today!

Build Procedure

  1. Download code. Edit src/hello.js file set your Unlaunch SDK_KEY and FEATURE_FLAG_KEY you want to evaluate as:
const SDK_KEY = "your-sdk-key";
const FEATURE_FLAG_KEY = "your-flag-key";

By default, we have set these values to an example feature flag. So you can run the code as is.

Then on on the command line, type:

npm install
npm start

When you run the project, it will print something like:

[DEMO] Feature returned variation: on. Evaluation reason: Default Rule served.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published