Skip to content

AppFlags/example-javascript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

AppFlags JavaScript Example

Simple app demonstrating how to use AppFlags in a JavaScript web application.

For more information, see the docs: https://docs.appflags.io/sdks/javascript

To run the example

  1. Clone this repository

    git clone https://github.com/AppFlags/example-javascript.git
  2. Modify index.html with your client key

    • Replace YOUR_CLIENT_KEY_HERE with your client key
  3. Create a feature flag in your account with the key test

  4. Open index.html in your browser

  5. Enable and disable the test feature and see the page change in real time.