Byung Joo Jeongjoo.hashnode.dev·Jul 26, 2024BookStore Spring - .env file setup / .env configuration with application.ymlForeword After I created Spring Boot Project, and linked it to remote repositories. For DB connection and other configuration (will add JWT, cookie, Email and etc), I want to enclose private information. Using .env file can be useful for it. ( .env +....env
Asfia Aimanasfiaaiman.hashnode.dev·May 28, 2024Securing Your Laravel Backend REST API: A Comprehensive GuideIn today's digital age, securing your backend REST API is paramount. As the backbone of many applications, APIs are frequent targets for malicious attacks. Laravel, one of the most popular PHP frameworks, offers robust security features to help prote...Laravel
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...45 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 ...41 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...1 likeReactEnvironment 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...1.3K readsGit
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...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...1.3K 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...9 likes·132 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...dotenv