DEV Community

kibblewhite
kibblewhite

Posted on

 

A cause for celebration...

I've found a small project which hasn't been developed on yet.

An IDataProtection provider using Google's Firebase:

I'm happy that I've managed to find a small project that hasn't already been done.

To use it is pretty straight forwards, get your project id and the json credentials file from GCP (Google Cloud Platform) for your Firebase Database and you are ready to rock.

In code usage "could" looks like this:

public void ConfigureServices(IServiceCollection services)
{
    service_container.AddDataProtection()
        .PersistKeysToFirebase(service_name);

    services.AddMvc();
}
Enter fullscreen mode Exit fullscreen mode

Rest of the details are in the README.md

p.s. The reason why this is a cause for celebration, is because this is offically my first personal nuget package/open source contribution.

Top comments (0)

An Animated Guide to Node.js Event Loop

Node.js doesn’t stop from running other operations because of Libuv, a C++ library responsible for the event loop and asynchronously handling tasks such as network requests, DNS resolution, file system operations, data encryption, etc.

What happens under the hood when Node.js works on tasks such as database queries? We will explore it by following this piece of code step by step.