API Documentation 1. Authentication APIs often require authentication to secure the exchange of information. This section explains how to authenticate and use credentials like API keys. Example: To access a weather API, you’ll need an API key. 2. Endpoints Endpoints are specific URLs used to interact with an API. They… Continue Reading
bharat 's Posts
JWT Authentication with Access and Refresh Tokens in Node.js
Authentication and security are crucial for maintaining user privacy and application integrity. A popular method to manage authentication is by using JSON Web Tokens (JWT). In this blog, we’ll walk through how to implement JWT authentication using Node.js, along with strategies to manage token expiration using access tokens and refresh… Continue Reading JWT Authentication with Access and Refresh Tokens in Node.js
Node JS
What is Node JS and how it is built? Node JS is a javascript runtime environment built on a Chrome V8 JS engine. Earlier we could run JS only in the browser with the help of the JS Engine which is present inside the browser Ryan Dhal combined the V8… Continue Reading Node JS
Node.js
Node.js is a versatile JavaScript runtime environment that enables developers to build servers, web applications, command-line tools, and scripts. It’s free, open-source, and works across different platforms. To run Node.js files, you initiate them in the Command Line Interface (CLI) of your computer using the command “node filename.js.” Modules in… Continue Reading Node.js
React-papaparse
Introduction When working with CSV data in React applications, having an efficient and easy-to-use parser is crucial. Enter react-papaparse, the fastest in-browser CSV (or delimited text) parser for React. It boasts a plethora of useful features such as CSVReader, CSVDownloader, readString, jsonToCSV, readRemoteFile, and more. Key Features Installation You can… Continue Reading React-papaparse
A Simple Comparison: GraphQL vs. REST API
As web development evolves, developers are constantly seeking the best tools and technologies to build efficient and scalable applications. Two popular approaches for building APIs are GraphQL and REST API. Each has its own set of features, advantages, and trade-offs. In this blog post, we’ll compare GraphQL and REST API… Continue Reading A Simple Comparison: GraphQL vs. REST API
GraphOL use to Upload A file
Introduction: In this GraphQL guide, we’ll explore how to upload a file using GraphQL in a TypeScript, MongoDB, and Node.js environment. We’ll set up the schema and resolver to handle file uploads and store the data in a MongoDB database. Step 1 : Define the schema for uploading a… Continue Reading GraphOL use to Upload A file
GraphQL Basics
What is GraphQL? GraphQL is a query language for APIs. It was developed by Facebook as a solution to fetch data more efficiently. Why GraphQL: The Problems with REST In REST APIs, each endpoint will return a specific payload of JSON data. Even if we only need certain fields, it… Continue Reading GraphQL Basics
CRUD Operation
Introduction The acronym CRUD is commonly used in software development to describe the four basic functions of a database: Create, Read, Update, and Delete. These operations are fundamental to many applications. The CRUD apps consist of creating new data (Create operation), reading existing data (Read operation), updating an existing record… Continue Reading CRUD Operation