Ryan Howardrollercodester.hashnode.dev·Apr 11, 2024Alternative to Frontend .env.* ConfigsThe De Facto Standard When it comes to managing multiple environment configs for single-page applications, the de facto standard is to use .env files, typically using a build-time Node package like dotenv, which at the time of this writing has well o...Discuss·41 readsEnvironment variables
Michael Krutikovmkrutikov.hashnode.dev·Mar 25, 2024PHP dotEnv library as a bottleneckI had used a popular library https://github.com/vlucas/phpdotenv for many years in my PHP projects built on Yii framework. The library is easy to use and always worked well. Recently I tried to find performance bottlenecks in my application and used ...Discuss·39 readsPHP
James Oluwaleyetwelve.hashnode.dev·Jan 14, 2024Working With Environment Variables in ReactSensitive data, such as a secret key retrieved from an external API, specific login credentials, or application settings that need to be protected, are frequently involved in the creation or deployment of websites. Environment variables provide an es...Discuss·1 like·29 readsReactEnvironment variables
S Soumyakantas-soumyakanta.com·Dec 14, 2023How to Remove Accidentally Pushed .env File in Git HistoryRecently I was implementing Google Analytics to my Next.js portfolio website. I saved my Google measurement ID in a .env file. After all the work, I pushed my .env file directly to the online repository without adding it to .gitignore. It was a whole...Discuss·127 readsGit - Tips & TricksGit
Yash Purohityashpurohit.hashnode.dev·Nov 3, 2023How to Use .env Variables & common problems in Your Next.js AppNext.js is a popular React framework that offers a wide range of features, one of which is the ability to use environment variables. These variables are essential for protecting sensitive data and configuring your application based on the environment...Discuss·1 like·65 readsNext.js
Hardik Chotaliyahardikchotaliya.hashnode.dev·Oct 16, 2023🛡️ Setting Up a .env Environment File for WebdriverIO + TypeScript Framework 🔐🔒 Introduction As a responsible developer and tester, one of the fundamental principles is to keep sensitive information, such as usernames, passwords, or API keys, secure and away from prying eyes. This is where the 🔑 .env environment file 🔑 come...Discuss·382 readsWebdriverIO.env
Joannajoannaterm.hashnode.dev·Aug 3, 2023What is .env file in Node.js?When I started learning basics of backend development, I remember coming across something called an .env file where everyone would be putting some top-secret “environment variables” in and I wasn’t sure why. What are these mysterious and intimidating...Chris Winter and 3 others are discussing this4 people are discussing thisDiscuss·9 likes·164 readsEnvironment variables
Rafiul Hasanraphy.hashnode.dev·Jul 28, 20236 Mistakes I make often while handling Environment Variables in NODE JS (using dotenv)Handling environment variables is an essential aspect of modern web development, particularly in Node.js applications. As developers, we strive to create secure, scalable, and maintainable code. However, when it comes to managing environment variable...Discussdotenv
Abhrajit Rayaroy77.hashnode.dev·Apr 23, 2023Get started with .env in your Vite+React AppWhy use .env files? While building our web app, we might need to store sensitive information such as API keys, database passwords, and other variables that are required for the application to run. Now we wouldn't want such information to be hard-code...Emmanuel Kusi and 2 others are discussing this3 people are discussing thisDiscuss·4 likes·4.5K readsEnvironment variablesThanks, man I have been struggling with this for a long time. After ChatGPT, I just forgot that you could find solutions in such beautiful articles. 11
Yogendra Kumar V Ryogendrakumarvr.hashnode.dev·Apr 15, 2023Multiple Development Environments in React (CRA)Environment Variables in React Environment variables are variables which are present outside the project and embedded into the project during build time. The CRA generates static HTML/CSS/JS bundles, hence it cannot read them at runtime. Note: Envir...Discuss·79 readsEnvironment variables