Open in app

Sign In

Write

Sign In

Bharathvaj Ganesan
Bharathvaj Ganesan

330 Followers

Home

About

Feb 5

Adding type safety to environment variables in NextJS

I have been working with Next.js for sometime, but we used to find hard time with environment variables mainly when getting started to contribute to existing projects. Projects usually have .env.example file that helps contributors in setting up the project in local environment where we might be creating .env.local file…

Nextjs

3 min read

Adding type safety to environment variables in NextJS
Adding type safety to environment variables in NextJS
Nextjs

3 min read


Jan 15

Guaranteeing webhook delivery in NextJS Application

Webhooks are a powerful tool that allow your SAAS application to send real-time updates to other applications. In this blog post, we’ll walk through the process of adding webhook support to your next app. A webhook is just an HTTP request to another server that gets automatically sent whenever some…

Nextjs

5 min read

Guaranteeing webhook delivery in NextJS Application
Guaranteeing webhook delivery in NextJS Application
Nextjs

5 min read


Dec 18, 2022

Integrate Chargebee and Kafka Using Upstash Webhook API

Today, lets see how to push Chargebee events to Apache Kafka using Upstash Webhook API. Once data is in Kafka there are many use cases how you can use it: Processing subscription events (with Apache Flink or Spark) to notify your business and sales team. Trigger notification such as sending…

Chargebee

3 min read

Integrate Chargebee and Kafka Using Upstash Webhook API
Integrate Chargebee and Kafka Using Upstash Webhook API
Chargebee

3 min read


Mar 3, 2022

What the heck is instantSearchSDKJSBridgeClearHighlight captured by Sentry?

Learn in detail about this instantSearchSDKJSBridgeClearHighlight error to know about why this occurs. — Recently at work, encountered this interesting error on Sentry logs and there were multiple events for this one so as usual started debugging. When Googled, landed on a StackOverflow Q&A which was the only post available regarding this issue. After going through all the answers and comments in Q&A, the…

Sentry

2 min read

What the heck is instantSearchSDKJSBridgeClearHighlight captured by Sentry?
What the heck is instantSearchSDKJSBridgeClearHighlight captured by Sentry?
Sentry

2 min read


Mar 2, 2022

Speedup your Jest tests in GitHub Actions

Learn how to speed up your jest tests in GH Actions. — Recently at work, was working on optimizing the jest unit test case CI execution time for our front-end application. We are using GitHub Action that runs on every PR raised against master branch. Backstory At our current scale, it roughly takes about ~14mins to complete. We have this branch protection rule…

Github

2 min read

Github

2 min read


May 7, 2021

Focus vs Focus-Within vs Focus-Visible

What are these pseudo-classes and how does each differ from the other — Today, we will be discussing focusable pseudo-classes supported by modern browsers, but before we dive deeper, it’s worth understanding what focusable and tabbable means in the context of CSS. Focusable Element The element will be focused by the script (element.focus()) and possibly the mouse (or pointer), but not the keyboard.

Accessibility

3 min read

Focus vs Focus-Within vs Focus-Visible
Focus vs Focus-Within vs Focus-Visible
Accessibility

3 min read


Apr 25, 2021

How to publish your NodeJS application on Homebrew

Learn how to publish NodeJS CLI application on the popular Homebrew package manager using Github — Homebrew is the de-facto package manager when it comes to macOS. It is quite easy to publish your projects on Homebrew without any ruby knowledge. A couple of years ago, I developed a small CLI utility called getfilesize-cli. It displays the file size in a human-friendly way. This package is…

Nodejs

4 min read

How to publish your NodeJS application on Homebrew
How to publish your NodeJS application on Homebrew
Nodejs

4 min read


Apr 18, 2021

How to keep two branches in sync on Github

GitHub Actions allows you to automate, customize and execute your software development workflows inside your repository. Let’s say we have two branches master and develop in our repositories following GitFlow methodology. We often encounter a situation when a hotfix is merged directly to master then those changes has to be…

Git

2 min read

How to keep two branches in sync on Github
How to keep two branches in sync on Github
Git

2 min read


Mar 9, 2021

Scaffolding a new project based on the existing git template repository

Learn how to scaffold a new project using git template repository — As a developer, in this open-source era, we often try to explore the code base of libraries/frameworks/projects or mostly starter template for kick-starting projects. The most common way is to clone the repository using the `git clone` CLI command. But cloning a repository will download its entire git history with…

Git

2 min read

Scaffolding a new project based on the existing git template repository
Scaffolding a new project based on the existing git template repository
Git

2 min read


Oct 29, 2020

How to keep node_modules in sync with package.json

Today we will be focusing on how to keep our local node_modules up to date whenever the package.json is modified when we pull from remote or switch between branches. — As JS developer, when we work on projects we frequently need to run npm install command whenever we pull or checkout to a different git branch where package.json is modified. In majority of the cases, the dependencies won’t cause any issues, but if there any breaking change introduced by the…

JavaScript

2 min read

How to keep node_modules in sync with package.json
How to keep node_modules in sync with package.json
JavaScript

2 min read

Bharathvaj Ganesan

Bharathvaj Ganesan

330 Followers

Engineering @ Chargebee | Cybernaut | InfoSec Enthusiast | https://bharathvaj.me

Following
  • Sebastian

    Sebastian

  • Adyen

    Adyen

  • Matt Croak Code

    Matt Croak Code

  • Netanel Basal

    Netanel Basal

  • Saad Pasta

    Saad Pasta

See all (219)

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech