The Unleash feature flag project has no free JS client.
There is a JS client that works only with Unleash Hosted Proxy.
This project uses the standard API to enable feature flags to JS.
- CORS was enabled
- The admin API was secured
docker build -t unleash-spa .
docker run -d -p 4242:4242 -e BASIC_AUTH_NAME=celio -e BASIC_AUTH_PASS=123 -e DATABASE_URL=postgres://user:pass@host:5432/unleash unleash-spa
Take a look at the index.html file to see a sample implementation for the applicationHostname strategy.