Python Flask REST API with SQLAlchemy

# Building a Python Flask REST API with SQLAlchemy Flask is a lightweight web framework for Python, ideal for building RESTful APIs. When paired with SQLAlchemy, a powerful object-relational mapper (ORM), Flask provides a robust platform for managing database interactions. This article will guide you through creating a REST API using Flask and SQLAlchemy, with practical examples and code snippets. ... Read More »

Creating a Node.js Express API with MongoDB

# Creating a Node.js Express API with MongoDB Node.js and Express are a powerful combination for building APIs. When paired with MongoDB, they form an efficient stack for handling database operations in modern web applications. In this technical guide, we’ll walk through creating a RESTful API using Node.js, Express, and MongoDB. We’ll cover setting up the project, connecting to MongoDB, ... Read More »

Building REST APIs with FastAPI and Python

# Building REST APIs with FastAPI and Python In the world of web development, REST APIs serve as the backbone for connecting frontend applications with backend services. FastAPI, a modern Python web framework, has quickly gained popularity for building robust, high-performance REST APIs. In this article, we’ll explore how to use FastAPI to create scalable APIs efficiently, highlighting its key ... Read More »

How to check if the process is running on Linux in Java

spring

In this article, we will learn how to check whether a specific process is running on Linux in Java. There is a case where we have to check before executing the tasks whether a specific process is currently running or not. Read More »

How to check if any word from a List exists in a String in Java8

Java

In this article, we will learn how to check if any word from a list of keywords exists in a String using Java 8 stream API. We have an input string and a list of words, we will check if any of the words from the list exists in the input string or not. And we also have a list ... Read More »

How to search a List of words in a String in Java8

Java

In this article, we will learn how to search a list of keywords/strings in a String/ Text using Java 8 stream API. We have an input string, in which we want to search a list of keywords – And we also have a list of keywords listed below – Now below code using Java8 will search for all the keywords ... Read More »

Spring Boot – Pagination, Sorting operations

spring

While developing any spring boot API, We create many rest endpoints for the CRUD operation on data, which deals with large volume of data. Because of the large volume, fetching of records from database takes more time. To overcome this types of cases we have some options in hand. Set limit for every request. Use pagination in fetching the records ... Read More »

SMPP Long Messages 2 bytes reference number in UDH

Java

In this article, we will learn to send long SMS using the cloudhopper SubmitSm. In this article, we use Charset GSM (7bit), which means we will split the message if the length of the message is greater than 160 characters. GSM-7 is a character encoding standard that packs the most commonly used letters and symbols in many languages into 7 bits ... Read More »

Execute multiple curl requests in parallel

This tutorial will demonstrate how to execute multiple curl requests in parallel, at the same time. We will use xargs command of linux or UNIX like operating system. What does xargs command do in Linux? xargs is a great command that reads streams of data from standard input, then generates and executes command lines; meaning it can take a command’s ... Read More »

Set globally multiple header parameters in Swagger

swagger

In this article, we will learn how to set multiple header parameters globally in a Spring Boot application. Why do we need it? There are cases where we want the client to send multiple header parameters along with the one auth token, these parameters may be useful to validate the token or may be required along with the token to ... Read More »