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·41 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·108 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
Suman Adhikarisumanad.hashnode.dev·Aug 8, 2023API with Nest js and sequelizeWe'll start from the vey basic. Install nestjs cli globally and use it to create the nest js project. $ npmi -g @nestjs/cli $ nest new project-name Run the project npm run start Go to main.ts file to check what port the app is running async functio...Discuss·37 readsnestjs
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
Karthick Selvamblog.karthickselvam.com·May 21, 2023Removing a .env File from Git HistoryWhen working with Git, it's crucial to protect sensitive information such as access tokens, API keys, and passwords. One common practice is storing these secrets in a .env file, which is usually added to the repository for convenience. However, inclu...Discuss·108 readsdotenv