API

Hands-on read JSON data from any external API with Scala

Reading Time: 3 minutes Hi folks, In this blog, we will write HTTP server + client code which calls the below external API using Scala and play framework Project Setup We must install the SBT command-line tool (at least JDK 8). In this blog, we’re using SBT version 1.7.1 to install Play Framework version 2.8.1. Step 1: First, we need to add some dependencies in the build.sbt file. Step Continue Reading

Hands-on CRUD operation with Scala-Play

Reading Time: 3 minutes Hi folks in this blog, we perform CRUD(Create, Read, Update, Delete) operations using Scala, Play framework, and Postgres Slick Project Setup We must install the SBT command-line tool (at least JDK 8). This Project uses SBT version 1.6.2 to install Play Framework version 2.8.1 and the Postgres database. Now you need to download the hello word template in play scala. Run ‘ sbt new playframework/play-scala-seed.g8’ Continue Reading

How to start with Spring web-flux

Reading Time: 4 minutes Spring Boot provides very good support for building RESTful Web Services for enterprise applications. This blog will explain building RESTful web services using Spring Boot in detail with a pinch of reactive programming using web flux. I will mostly be walking through the code snippets which we can use to quickly start with the web flux without having to dive deep. It is like a Continue Reading

Introduction to APIs

Reading Time: 4 minutes The device that turns a website’s data into something a computer can understand is an API. Similar to how a person may access and modify data by loading pages and submitting forms, a machine can view and edit data through it. Making data easy to deal with is beneficial since it allows programmers to automate laborious and time-consuming operations. Through an API, a computer may Continue Reading

background

Event Sourcing with KALIX

Reading Time: 6 minutes As we all know, Event Sourcing is a practical approach to design a service that reliably/atomically updates the database and transmits messages/events. But before I tell you how to do it with KALIX, let me give you a little overview of KALIX. Kalix Introduction Kalix is a considerable improvement over the existing serverless model in terms of abstraction of complexity. As it provides a unifying Continue Reading

Dataframe and Datasets: Apache Spark’s Developers Friendly Structured APIs

Reading Time: 4 minutes This is a two-part blogs in which first we’ll be covering Dataframe API and in the second part Datasets. Spark 2.x introduced the concept of structuring the spark by introducing two concepts: – to express some computation by using common patterns found in data analysis, such as filtering, selecting, counting, aggregating, and grouping. And the second one of order and structure your data in a Continue Reading

Setting up the Play Framework

Reading Time: 2 minutes What Play is? Play is a high productivity Java and Scala web application framework that integrates the components and APIs you need to the modern web application. It is a Web framework whose HTTP interface is simple and powerful. Play Requirements: To function correctly, the Play application only needs to include the Play JAR files. Because these JAR files are published to the Maven Repository, Continue Reading

data codes through eyeglasses

How to Make a REST API Using API Gateway

Reading Time: 6 minutes We’ll learn how to make a REST API with API Gateway in this blog. Let’s start with a quick overview of APIs. What is an API? API stands for Application Programming Interface, and it is a software intermediary that allows two applications to communicate with one another. What is an AWS API? Amazon API Gateway is a fully managed service that makes it easy for Continue Reading

jenkins

      Jenkins API to handle Jobs Remotely

Reading Time: 4 minutes Hello Readers! I hope you are doing well. So, In this blog we will see how we can use Jenkins API to handle jobs remotely. In this blog we will create, update, trigger, delete, our Jenkins job through REST API. This is very quick and simple so let’s see. Why do we need to handle a job remotely? Jenkins is well known for its flexibility. Continue Reading

Server APIs using Akka HTTP

Reading Time: 3 minutes In this blog, we will be learning to integrate HTTP in our application using Akka HTTP. Basically, we will get to know what Akka HTTP is, what are Low Level and High level server APIs, and how to set HTTPS, etc. So, lets get started. What is Akka HTTP? First of all, the Akka HTTP is not a framework, but it is a suite of Continue Reading

ExpressJS | Understanding of Expressjs Routing

Reading Time: 2 minutes This article will learn about Expressjs, Installation & Routing in Express.js. Let’s start with Expressjs Introduction. What is ExpressJS? ExpressJS is a fast, unopinionated, minimalist web framework for Node.js. Express is a minimal and flexible Node.js web application framework that provides a robust set of features for web and mobile applications. Environment & Installation: Before installing expressjs, install nodejs. Nodesjs version should be 0.10 or Continue Reading

A Guide to CORS in Node.js with Express

Reading Time: 4 minutes Introduction Node.js is an open-source and cross-platform runtime used when executing JavaScript code on the server-side. One of the popular Node.js server frameworks is Express. Implementing CORS in Node.js helps you access numerous functionalities on the browser. Express allows you to configure and manage an HTTP server to access resources from the same domain. The three parts that form an origin are protocal, domain, and port. Let’s Continue Reading

Submit Extrinsic from Custom Pallets using Polkadot Js API

Reading Time: 3 minutes Substrate is a next-generation framework for blockchain innovation. It comes with everything you need to build your blockchain. Substrate is a completely free and open-source project. It is built using Rust and WebAssembly. Rust is designed for creating fast and inherently safe software. Substrate is like a template from which you can make your own application-specific blockchain to add custom functionalities specific to one use case or group of Continue Reading