RAZINJ Dev
  • Home
  • #BitCode
  • Web
  • Mobile
  • Linux
  • Self Hosted
  • Git
  • Docker
  • Python
Sign in Subscribe

Web

All about the web from CSS to the HTTP protocol and everything in between.
How to Mock process.env in Jest
Web

How to Mock process.env in Jest

Learn how to mock environment variables in a NodeJs project while implementing Jest tests that depend on environmental variables. 🌐You can find the source code at the end of the post. Table of contents * What Is process.env? * Why Mock process.env? * Mock process.env in Jest Tests * Conclusion What
Jan 15, 2023 4 min read
JSON Stringify - The Optional Parameters
BitCode

JSON Stringify - The Optional Parameters

We all use JSON.stringify() method for various reasons, but very few know about it's hidden optional parameters, and in this BitCode we will discover them with examples. Table of contents * Normal Usage * Whitelist Object's Properties * Replacer Function * Output Spacing Normal Usage Before we start, this is just a quick
Jan 10, 2023 2 min read
Post cover displaying React logo
Web

How to Implement Dark Mode in React Using Context

Dark Mode in React & TailwindCSS
May 14, 2022 5 min read
Post cover displaying the title and the Javascript logo
BitCode

Javascript's Rest Parameters

Rest Parameters, Explained!
May 4, 2022 1 min read
Post cover displaying the title and the Javascript logo
BitCode Featured

Javascript's Spread Syntax

Spread Syntax, Explained!
Apr 28, 2022 2 min read
Post cover image displaying the Docker and Strapi logos
Web Featured

How to Run Strapi 4 in a Docker Container Using Docker Compose

The Latest Version in a Container
Feb 4, 2022 5 min read
Post cover image displaying the Angular logo
Web Featured

Configure an Angular App to Support Multiple Environments

Add Multiple Environments to Your Angular App in Easy Steps
Jun 12, 2021 3 min read
Page 1 of 1
RAZINJ Dev © 2023
  • About us
  • Contact us
  • Privacy Policy
  • Terms & Conditions
Support