Skip to content

configcat-labs/feature-flags-in-expressjs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

feature-flags-in-expressjs

A companion repo for "How to use Feature Flags in ExpressJS".

About this sample app

This app is a fictional dating app called Acme Dating built with ExpressJS.

Here is what it looks like:

image

How it works

The app has three (3) pages:

  1. Home
  2. Top Matches
  3. 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.

How to run the App

  1. Clone this repository

  2. Open a terminal in the root of this repo

  3. Installed the required npm packages:

npm install
  1. Start the server by running the below command. Then access the app at: http://localhost:3000.
node server.js

Reference

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.

About

How to use Feature Flags in Express JS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •