Skip to content
Branch: master
Find file History
markphelps Integration Tests (#39)
Adding integration tests, /health endpoint, removing negroni
Latest commit 75f82c7 Apr 1, 2019
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
tmpl Move to examples/basic Mar 2, 2019
Dockerfile Integration Tests (#39) Apr 1, 2019
README.md
docker-compose.yml Integration Tests (#39) Apr 1, 2019
flipt.db Fix example [ci skip] Mar 3, 2019
main.go Use build flags to exclude examples during CI Mar 3, 2019

README.md

Basic Example

This example shows how you could integrate Flipt into your application.

It uses the Go GRPC Flipt client to query for an existing flag and then show's different content whether or not that flag is enabled.

"demo"

Requirements

To run this example application you'll need:

Running the Example

  1. Run docker-compose up from this directory
  2. Open the Flipt UI (default: http://localhost:8080)
  3. Open the example UI at http://localhost:8000
  4. Switch back to the Flipt UI
  5. Disable / Enable the example flag example in the Flipt UI
  6. Refresh the example UI, you should see the content change
You can’t perform that action at this time.