Skip to content

Farfetch Technical Exercise : REST Web Api w/ Feature Toggling

Notifications You must be signed in to change notification settings

PedroDiasFaria/Farfetch-TogglerAPI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

Farfetch-TogglerAPI

Farfetch Technical Exercise : REST Web Api w/ Feature Toggling

Important files:

WebAPI /Controllers /Models

MVC /Models /Views /Controllers

Implemented:

  • Feature Toggles with Hierarchy:

    • Have 3 test Features called BlueButton, GreenButton and RedButton, which:
      • Are subclasses of ButtonFeature, a subclass of Feature Custom Toggles
  • REST API for a simple creation / modification/ deletion of new Features and Users Main View

  • Features Toggling that can be checked if a Feature is available to a particular type of Users Feature Toggles On Feature Toggles Off

    • Following the Exercise example:

    Default Toggle Options

Not Implemented:

  • Registration / Login:
    • Although there is no Authentication system in the Application, users only have access to their own features accordingly their userType and the Feature permissions: Admin Features Normal User Features Premium User Features

Running

The project is divided in 2 parts:

  • A webAPI, with all the server side operations
  • A MVC client, to simulate an Admin pannel with a UI to easily test all the aforementioned features

Simply download the source code, build and run the solution. A pre-seeded Database is available with some example Features and Users

About

Farfetch Technical Exercise : REST Web Api w/ Feature Toggling

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published