This is a simple Node.js application to demonstrate how to use the ConfigCat SDK on Node.js with Express and Docker.
npm i
npm start
docker build -t configcat/expressdemo .
docker run -p 8088:8088 -d configcat/expressdemo
Open these urls:
- http://localhost:8088 to test your webserver or
- http://localhost:8088/keys to get all keys of the subscription or
- http://localhost:8088/isAwesomeFeatureEnabled to get 'isAwesomeFeatureEnabled' feautreflag's value