Categories
Backend Frontend

3 JavaScript Libraries that changed the way I develop Full-Stack Projects

In the dynamically-evolving (or, if you insist, absurdly inflated) JavaScript library ecosystem, every once in a while I come across a new module, which considerably impacts the way I build my projects as a full-stack developer. I’ve decided to compile a short list of three JavaScript libraries which I have discovered over the last two years that greatly improved my workflow and have become my go-to choice when developing full-stack applications.

Categories
Backend DevOps

Providing environment variables default values via Spring application.yaml

Storing backend application configuration values in environment variables is a common practice that makes most DevOps works easier. In a recent project, my task was to setup a CI/CD pipeline for a Java Spring application. In order to do that, I had to configure the application so that it would read the database connection values from env variables in both staging and production environment while falling back to default values if the desired variables were not provided.

Categories
Backend

Declaratively bypassing guards in a NestJS endpoint with JWT and RBAC

I recently started using NestJS – a relatively new Node.js backend framework, which puts convention over configuration. One of the concepts introduced by NestJS are guards, which are a context aware alternative to regular Express middleware. In one of my projects, I’ve run into a use case, which well illustrates the advantages of guards vs middleware.