Implementing Feature Flags from Scratch - Part 1

Publicado el: 24 mayo 2023
en el canal de: 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


En esta página del sitio puede ver el video en línea Implementing Feature Flags from Scratch - Part 1 de Duración hora minuto segunda en buena calidad , que subió el usuario fromDev2Dev 24 mayo 2023, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 709 veces y le gustó 44 a los espectadores. Disfruta viendo!