Author: Daniel Abrahamberg

  • IaC Methodologies and Best Practices on Azure

    IaC Methodologies and Best Practices on Azure

    Infrastructure as Code (IaC) is a crucial aspect of modern DevOps practices, and it is becoming increasingly important for organizations looking to optimize and automate their infrastructure management on Azure. IaC allows you to use code to define, provision, and manage your infrastructure, making it easier to manage, scale, and maintain. In this guide, we’ll […]

  • How to make OpenAI Stateful Text Generator like ChatGPT for Conversations

    How to make OpenAI Stateful Text Generator like ChatGPT for Conversations

    OpenAI’s text generator is a powerful tool for programmers and developers looking to enhance their applications with natural language processing capabilities. In this blog post, we will dive into the features and capabilities of OpenAI’s text generator, including its ability to maintain context like ChatGPT. Learn how OpenAI’s text generator can take your software to […]

  • The Ultimate Guide to Blazor: How to Build Client-Side Web Applications with C#

    The Ultimate Guide to Blazor: How to Build Client-Side Web Applications with C#

    Blazor is an open-source web framework that allows developers to build interactive client-side web applications using C# and .NET. It was developed by Microsoft as an alternative to JavaScript-based frameworks like Angular and React. One of the main benefits of Blazor is that it enables developers to use their existing C# skills and code to […]

  • How to mock class constructor with parameters- Jest and TypeScript

    How to mock class constructor with parameters- Jest and TypeScript

    Earlier I wrote How to Mock a TypeScript class or dependency using Jest, that is basically a how to auto mock the ES class or module when it comes to typescript. Since it happen to come up on google results, get to see what people search around the subject and “jest mock constructor with parameters […]

  • Monorepo architecture, CI/CD and Build pipeline

    Monorepo architecture, CI/CD and Build pipeline

    Monorepo architecture can have advantages over polyrepo (or multi-repo) in certain cases. Though, implementation of a successful monorepo is not hassle free especially when it come to automation, CI/CD and Build pipeline. Examples such problems are long running tests, and unnecessary release of unchanged packages. I am going to give you some solutions based on […]

  • NodeJS Application Insights, logging and telemetry best practices

    NodeJS Application Insights, logging and telemetry best practices

    Distributed tracing and Real Time Application Monitoring is an essential component of any modern software architecture. This is done through telemetry, meaning produce some kind of tracing data about the software (included but not limited to logging) and transmit it to some external system to be stored and processed. Telemetry monitoring combined with tracing helps […]

  • How to setup a TypeScript project dev environments like a pro

    How to setup a TypeScript project dev environments like a pro

    There are many ways to set up a nice developing environment for typescript. Since I like simplicity and ease of work, let’s setup a TypeScript project that is minimal and easy to work with. Though, It doesn’t mean we need to stick to the defaults; this setup works out of the box, it is pretty […]

  • How to Mock a TypeScript class or dependency using Jest

    How to Mock a TypeScript class or dependency using Jest

    Jest is an awesome and easy to use testing framework for JavaScript, but when it comes to TypeScript and mocking (specially to mock typescript classes) it can really become painful as TypeScript is not relaxed about the types as JavaScript is. In this article I am going to show you how to mock a dependency […]

  • How to deploy nodeJS app to production

    How to deploy nodeJS app to production

    Releasing javascript/typescript applications normally ends up with producing a huge artifact, the reason is obviously the node_modules. Here I am showing you how to deploy a NodeJS app to production with very small artifact and very efficient deploy time. node modules When you create a modern javascript / typescript project you are taking care of […]

  • ReactJS Release CICD for azure devops Pipeline and GitHub actions

    ReactJS Release CICD for azure devops Pipeline and GitHub actions

    I am going to show you how to properly release ReactJS for production. I show you how to drastically reduce the deploy time when it comes to ReactJS Release CICD for azure devops Pipeline and GitHub actions. React is a JavaScript library that helps you make UI in in a very nice way. Though, to […]

  • Single Page Application (SPA) vs Multi Page Application (MPA)

    Single Page Application (SPA) vs Multi Page Application (MPA)

    If you want to decide about what technology you want to make your solution, one of the things to consider is if it should be Single Page Applications (SPA) or Multi Page Application (MPA). I see some teams decide to go with SPA because it is shiner, or MVC because they are in the impression […]

  • Environment Variables as GitHub Codespaces Secret

    Environment Variables as GitHub Codespaces Secret

    It’s been long since we are asking programmers “not to push connection strings and API Keys” to the source code. And also, set them as environment variables for production. But you still here and there you can find sensitive information on both repository and config files on production server! GitHub Codespaces gives you the solution […]