Implementing Feature Flags from Scratch - Part 1

Veröffentlicht am: 24 Mai 2023
auf dem Kanal: fromDev2Dev
709
44

Welcome to @fromDev2Dev!
#marcellothiry #fromdev2dev #featureflags #featuretoggles #typescript #monorepo

This video is the part 1 of the Implementing Feature Flags Totally from Scratch series. I will show you how to create the project's workspace in a monorepo setup using Lerna. We will then add 2 packages, showing how to link them and manage their dependencies.

Our goal in this series is to develop a complete TypeScript solution (minus the front-end, at least for now) to manage and use Feature Flags (also known as Feature Toggles) without using any existing frameworks or tools to handle them (no third-party libs). When finished, we will have functions for checking flag’s status based on the flag's name and user's group, caching and auto-refreshing, loaders for different data sources, and easy support for switching between new and legacy features. We are using Lerna (monorepo tool), Verdaccio (private NPM proxy registry), Vitest (Unit Test Framework), Fastify (Web Framework, so we can create our back-end REST feature flag service) and MongoDB (NoSQL) as our database.

If you want to write any comments, you can do it in English or Portuguese. I'll keep the replies in Portuguese and translate them to English.

★ Implementing Feature Flags From Scratch Series - Part 2:    • Implementing Feature Flags from Scratch - ...  
★ Implementing Feature Flags From Scratch Series - Part 3:    • Implementing Feature Flags from Scratch - ...  

★ Installing NPM packages in you computer with Verdaccio NPM Proxy Registry:    • Create a NPM Package and publish it locall...  

► Our code repo: https://github.com/marcellothiry/feat...

► Lerna (Monorepo Tool): https://lerna.js.org/
► Verdaccio (NPM Proxy Registry): https://verdaccio.org/
► Vitest (Unit Test Framework): https://vitest.dev/
► Fastify (Web Framework): https://www.fastify.io/
► MongoDB (NoSQL database): https://www.mongodb.com/

► LinkedIn:   / marcello-thiry-b29216a  

► Timestamps:
0:00 Intro
1:44 Creating workspace with Lerna
5:53 Adding first package (types)
12:44 Adding second package (client)
14:57 Linking the two packages and managing dependencies


Auf dieser Seite können Sie das Online-Video Implementing Feature Flags from Scratch - Part 1 mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer fromDev2Dev 24 Mai 2023 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 709 Mal angesehen und es wurde von 44 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!