tryabby / abby

Open-Source Feature Flags, Remote Config & A/B Tests for Developers ⛳🧪
https://www.tryabby.com
GNU Affero General Public License v3.0
143 stars 19 forks source link

NestJS Integration #127

Closed simonorzel26 closed 7 months ago

simonorzel26 commented 7 months ago

Abby should have an integration for NestJS. This Integration should behave pretty closely to the existing Integrations and have feature parity.

Acceptance Criteria:

Must be inside of packages/express Must be named @tryabby/express Needs to consume @tryabby/core internally Must be written in Typescript and have the same type quality as React etc. needs to have the following functionality expose a middleware function which has some internal cache for the Abby API call a function which returns the user's currently selected variant as well as the onAct method a function which returns the value of the given feature flag a function which returns the value of the given feature flag there should be tests for the types and the code