Skip to content

celiovasconcelos/unleash-spa

Repository files navigation

Motivation

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.

Server

  • 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

JS Client

Take a look at the index.html file to see a sample implementation for the applicationHostname strategy.

About

Unleash feature flag for single page applications

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published