Tag: nodeJS
-
How to Building APIs With GraphQL And Node.js ?
Making effective and adaptable APIs is a major problem in the constantly changing world of web development. A query language for APIs called GraphQL has revolutionized the way developers interact with data by giving them a more dynamic and precise interface. In this article, we’ll look at how to create APIs using GraphQL and Node.js, […]
-
How to Use Middlewares in Your Node.js Project
Middleware is a fundamental concept in Node.js development that enables you to enhance the functionality and structure of your applications. In this blog post, we’ll dive into how to effectively use middlewares in your Node.js projects to handle tasks such as authentication, logging, error handling, and more. Understanding Hoisting Hoisting refers to the process where […]
-
How does FileSystem work on NodeJS?
The well-known runtime Node.js, which is based on Chrome’s V8 JavaScript engine, is widely used due to its effectiveness and adaptability. Working with the file system is one of its strong points, enabling developers to execute different file operations with ease. In this blog article, we’ll delve into the realm of Node.js file system operations, […]
-
How to Interact with NodeJS REPL?
In the world of programming, the ability to test and experiment with code snippets in an interactive environment is invaluable. This is where REPL (Read-Eval-Print Loop) comes into play, and Node.js offers a robust REPL environment for JavaScript developers. In this blog post, we’ll dive into the concept of Node.js REPL, its features, and how […]
-
Node.JS Vs Go? Which is Better?
It is imperative to choose the right stack of technologies to build a high-quality application. Especially when it comes to choosing an apt backend development technology for your application/software product. The two most popular choices for building the backend of modern-day applications are Node.Js and Go. If you intend to build a high-performance application, you […]
-
Google Custom Search with NodeJS
Goo Google provides a custom search API by which you can use the power of google search engine in your own application. The base URL for the REST version of custom search API is: https://www.googleapis.com/customsearch/v1 Before moving on to integration part, we need two things. API KEY Search Engine ID The API KEY can be […]
-
Bing Search API with NodeJS
Bing provides a search API by which you can use the power of bing search in your own application. The base URL for the search API is: https://api.cognitive.microsoft.com/bing/v7.0/search The code to integrate the API using Express and Node JS is: The API Subscription Key can be created at the website: https://azure.microsoft.com/en-in/services/cognitive-services/bing-web-search-api/ If you want more […]
-
Introducing Socket.io
Socket.io Web applications, for example, Facebook, Twitter, or Gmail are consolidating constant abilities, which empower the application to consistently give the client as of late refreshed data. When you include the Socket.io module, it provides you with two objects: a socket server object that is responsible for the server functionality and a socket client object […]
-
Meteor Methods vs REST API
Many of you must have used MeteorJS Methods and have often mistook them for an analogue of REST API. Although Meteor Methods are similar to POST API request but they are quite different. The main difference between the two is that Meteor Methods are DDP (Distributed Data Protocol) messages and are based on RPC (Remote Procedure […]