Skip to content

An example app built using TypeScript and the OpenFeature NodeJS SDK and DevCycle Provider with local bucketing

License

Notifications You must be signed in to change notification settings

DevCycleHQ-Labs/example-openfeature-nodejs-typescript

 
 

Repository files navigation

DevCycle OpenFeature NodeJS Server SDK Example App (Typescript)

An example app built using the OpenFeature Node.js SDK and DevCycle Node.js Server SDK with TypeScript.

Creating a Demo Feature

This example app requires that your project has a feature with the expected variables, as well as some simple targeting rules.

Click here to automatically create the feature in your project ⇦

When you run the example app and switch your identity between users, you'll be able to see the feature's different variations.

Running the Example

Setup

Development

npm run start

Runs the app in the development mode.
Requests may be sent to http://localhost:5002. See src/app.js for available endpoints.

Testing

npm run test

Documentation

For more information about using the DevCycle NodeJS Server SDK, see the documentation

About

An example app built using TypeScript and the OpenFeature NodeJS SDK and DevCycle Provider with local bucketing

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 100.0%