A companion repo for "How to use Feature Flags in ExpressJS".
This app is a fictional dating app called Acme Dating built with ExpressJS.
Here is what it looks like:
The app has three (3) pages:
- Home
- Top Matches
- Not Available
The companion article discussed the use of ConfigCat's feature flag services for feature flagging. This allowed me to render the Top Matches page if the Feature Flag is switched on and render the Not Available page if it is off.
-
Clone this repository
-
Open a terminal in the root of this repo
-
Installed the required npm packages:
npm install
- Start the server by running the below command. Then access the app at: http://localhost:3000.
node server.js
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 Twitter, Facebook, LinkedIn, and GitHub.
Learn more about Express.js right here.