The app is a simple page that allows users to vote on a photo by assigning a number from 1 to 10. Using ConfigCat's feature flag services, the application uses a feature flag to enable or disable the voting feature. When disabled, a message will show that voting is disabled.
- Node.js and node package manager
- Basic knowledge of HTML, CSS, and JavaScript
- A code editor installed - For example: Visual Studio Code
- Clone this repository:
git clone git@github.com:configcat-labs/feature-flags-in-angular-sample-app.git
- Open a terminal at the root of the cloned repository and install the dependencies:
npm i
-
Add your ConfigCat SDK and feature flag key to
src/app/app.component.ts
. -
Launch the app in your browser with:
npm run start
Useful links to technical resources.
ConfigCat also supports many other frameworks and languages. Check out the full list of supported SDKs here.
You can also explore other code samples for various languages, frameworks, and topics here in the ConfigCat labs on GitHub.
Keep up with ConfigCat on X, Facebook, LinkedIn, and GitHub.
Contributions are welcome!