This sample uses https://github.com/microsoft/FeatureManagement-Dotnet for Feature Management in an ASP.NET Core Web API. If you have a JavaScript Single-Page-Application (SPA) as frontend you may want to reuse the feature flags from the backend in the frontend. You can solve this by creating an API Controller that returns all features (enabled or not) as JSON.
GET /features
Response:
{
"featureA": true,
"featureB": false
}