15 Rules For Writing Clean JavaScript

blank

So you are a React developer or Node.js developer. You can write code that works. But can you write code that is visually beautiful and understandable by others? Today we will see some rules to make your JavaScript code clean and clear. Rule 1. Don’t Use Random Characters as Variable Don’t use some random character … Read more

Start Your Journey with Next.js

Start Your Journey with Next.js What is Next.js? Next.js is a framework for React. It makes developing with React much cleaner and more efficient. In their documentation they define Next.js as: “the React Framework for Production” And its features truly justified the claim. We will talk about them later. Why Next.js? Next.js gives you the … Read more

Secure ReactJS Applicaiton on AWS

Secure ReactJS Applicaiton on AWS Security is very important for websites nowadays. Customers don’t feel confident providing their information on an unsecured website. If you have a React app served over S3 you can secure it very easily using AWS service. If you have an application that is hosted on S3 Bucket in AWS( Which … Read more

How to Build an NPM Package for React

To be a better React programmer I have a few tips for you … Write clean and small functional component DRY (Don’t repeat yourself) Separate logic from the view Reduce dependency among components Organise your files and folders Use custom hooks for repeated tasks Ask others for advice or get a review of your code … Read more

How to Design a Clean Database

18 best practices to keep names simple and consistent No matter what kind of developer you are, every once in a while, we come across an API which returns data in such a way that we don’t have to spend much time understanding it. But generating this type of clean and consistent result takes time, … Read more

How to Convert an Audio File into Video in NodeJS

Power of FFmpeg with NodeJS Converting audio files into video files is an everyday use case in the current age of content production. While there are many ways to do it via some custom websites, we programmers don’t follow that easy, simple path, right? Today, I will show you how to convert an audio file … Read more

NextJS Internationalization using Google Translator

How to internationalize a NextJS website? Setup a CMS or use i18n Connect each piece of text with a key in the translation file. Translate each piece of text. But all of these take a huge amount of time. Today I will show you the fastest way to add internationalization in a NextJS website. In … Read more