This repository is the code demos for the Feature Flags: Separate Deployment and Release talk: https://robrich.org/slides/feature-flags/
This includes .NET and Node.js servers showing various feature-flag data stores:
- Config file
- Database
- Database with user-specific overrides
- Various Feature Flag vendors:
In each chapter, the usage is the same. Start the chosen server, then optionally start the React client.
-
Open the
*.slnfile in Visual Studio -
Right-click on the project -> Manage User Secrets
-
Set the secret to match appsettings.json with the service's API key
-
Start the app
-
Browse to https://localhost:7000/swagger
-
Open a terminal in the same folder as
package.json. -
npm install -
If it exists, copy
.env-exampletoenv. -
Adjust the
.envfile to taste, adding the service's API key -
npm run build && npm start
-
Open a terminal in the
client-appfolder. -
npm install -
Modify
.envto point to your chosen server:dotnetornode.js. -
npm run build && npm run dev -
Browse to https://localhost:4000
MIT, Copyright Richardson & Sons, LLC