My Experience Building a GitLab CI/CD Pipeline to Deploy via FTP

admin  

By setting up a GitLab CI/CD pipeline, we ensured that any updates were automatically pushed to production, saving time and reducing errors, making our deployment process more efficient and reliable.

    DevOps

Implementing a Simple REST API in ExpressJS and Consuming it from Client, Server or using CURL/Postman

admin  

In this tutorial we're going to implement a simple REST API in nodejs, exploring different options, by installing express directly as a npm package or using the express generator. Then we'll consume the api from browser, curl, backend or curl


Implementing Express Middleware for Preparing Components Data

admin  

Using Express middleware to prep data for your app's components is like having a handy multitool. It helps you clean up, organize, or check your data before it hits your main code, making things run smoother and smarter.


Understanding Middleware Types and Invocation Order in Express Applications

admin  

Middleware in Express sorts out requests and responses, tackling everything from data parsing to security. Though often misunderstood, getting a grip on the different types and their order can seriously level up your web apps, making them slick, secure, and speedy.


Write Your Own OTP Authenticator In Javascript and NodeJs

admin  

This tutorial will guide you through building a command-line OTP authenticator similar to Google Authenticator, using the speakeasy library for generating TOTP (Time-Based OTP) codes, and prompt-sync for handling user input.

    NodeJs

Handling Errors In ExpressJS Web Applications

admin  

Mastering error handling in ExpressJS: Prevent crashes and enhance stability with effective strategies for managing unhandled rejections and exceptions.

    Express

ExpressJS: Implementing Multi-Language Support

admin  

Enhancing ExpressJS applications with modular routing and multi-language support: A step-by-step guide to seamlessly serve global audiences by integrating language-specific content paths, ensuring both the primary language and additional languages are accessible through intuitive URL structures.

    Express

React Patterns: Context API, A Practical Example of the Publisher-Subscriber Pattern and Dependency Inversion Principle

admin  

Understanding React Context: This tutorial breaks down how to manage global state with React's Context API, using the Publisher-Subscriber Pattern and Dependency Inversion Principle. It simplifies sharing data across components and keeps your app organized.


How to use Open Graph Meta properties and tags: Examples, og:image, og:type

admin  

A small investigation on what properties and tags are defined in Open Graph Meta protocol: Examples, og:type,og:image

    WebDev

Consume ES Module Libraries from CommonJS Apps By Creating a Simple Node Server

admin  

If you want to use ES Module Libraries from CommonJS Apps or you endup in a version or depdency hell, or even want to use nodejs libraries from other languanges like python you can easily expose them as APIs


Converting a Database From Mysql to Sqlite

admin  

Check how to convert a database from MySql to Sqlite using mysql2sqlite and a docker container with MySQL and Adminer

    Infra

Understanding the Factory Pattern: When and How to Use It

admin  

In this tutorial we are going to explore the factory pattern, to understand when to use and looking at a few practical use cases.


Starting With MeteorJS

admin  

    Javascript

Adding dependencies from local Maven repositories to Activator projects

Retrieving Files Recursively in Java

Retrieving Files Recursively in Java

admin  

    Java

How To Rename A Remote Branch in Git

How To Rename A Remote Branch in Git

admin  

    Git

Getting sun.security.provider.certpath. SunCertPathBuilderException when sending mail from Java via SSL?

How To Resize/Convert Images In Java

How To Resize/Convert Images In Java

admin  

    Java

How to Obtain the IP Address and DNS Details for a domain in java

Date Time Manipulation In Java

Date Time Manipulation In Java

admin  


How To Use JDBC addBatch Method with MySQL for Improved Performance

How To Use JDBC addBatch Method with MySQL for Improved Performance

admin  

Maximizing MySQL Database Performance for Large Data Operations using JDBC addBatch Method


How To Download a File in Java

How to use Post Method using Apache HttpClient 4

How to Convert InputStream to String

How to Convert InputStream to String

admin  

    Java

Method Chaining

Method Chaining

admin  


A few thoughts about memory cache

Guice Servlets Integration

Using VBS to set the environment variables

Wrapping (evil)checked exceptions in Java

How to Avoid Generics Related Warnings in Eclipse