Vignesh Mvikky.dev·Oct 3, 2024Angular and environment filesI'm coming back to Angular to learn the new stuff happened in Angular 18 and thought of building something small with the Readwise Reader API. The API gives us an API key and we should not share it with others. Let’s use environment files I thought, ...DiscussAngular
Nirmal Sankalananirmalsankalana.hashnode.dev·Sep 8, 2024How to Use .env with ES6 ModulesWhen building Node.js applications, it's common to store sensitive information like database credentials or API keys in environment variables. This is where the .env file, managed by the dotenv package, comes in handy. However, when using ES6 modules...Discuss·10 likes·30 readsdotenv
Anuj Kumar Upadhyayanuj1.hashnode.dev·Aug 15, 2024Security Best PracticesWelcome to Day 21 of our Node.js Zero to 1! Blog Series ✨✨ Security is a critical aspect of developing Node.js applications. Implementing robust security measures helps protect your application and its users from various threats and vulnerabilities. ...Discuss·10 likesNodejsNode.js
Raaj Aryanraajaryan.tech·Jun 21, 2024Mastering .env File Usage in React ApplicationsReact, as a popular JavaScript library for building user interfaces, allows developers to create dynamic and responsive web applications. One crucial aspect of React development is managing environment variables, which can be effectively handled usin...Discuss·1 like·50 readsJavaScript
Syed Aquib Alihadetan.hashnode.dev·Jun 21, 2024DotEnv, Router, MVC and MiddlewareDotEnv Environment variables are variables that are set outside of a program, often through a cloud provider or operating system. In NodeJS, environment variables are a great way to securely and conveniently configure things that do not change often,...Discussdotenv
Divij Pirankardivij.hashnode.dev·Jun 3, 2024Easy Way to Add Environment Variables in ReactEnvironment variables are crucial in software development, enabling different configurations for development, testing, and production environments. In React, they help manage these settings efficiently without hardcoding sensitive information into yo...DiscussReact
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·44 readsEnvironment variables
Gaurab Khanalblog.gaurabkhanal.tech·Feb 22, 2024Understanding and creating own (dotenv) module in nodejsImportance I don't think there's any developer who is unaware of the importance of storing confidential information like api_keys or any secret key in a (.env) file. Most developers store secret information in a (.env) file which they can access fro...Discuss·33 likes·116 readsNode.js
Mritunjay Kumarcodecomponents.hashnode.dev·Feb 6, 2024How do I setup the dotenv file in Node.js?If you want to use.env file in your node js project. Hear all stapes. npm install dotenv. 2: Stape creates .env file in the root directory. 3: Stape import dotenv in the main file at the top of the line. import dotenv from "dotenv" 4: Stape after i...Discuss#NodejsEnvironmentVariables
AbdulAzeez Sherifsifu.hashnode.dev·Aug 14, 2023Django — How to Keep Secrets Safe Using python-dotenvWe frequently have certain secret keys, OAuth keys, and other crucial information when working on a Django project that needs to be kept safe and private. Such keys should never be made public because doing so leaves your system open to security thre...DiscussPython