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·36 readsEnvironment variables
Gaurab Khanalgaurabkhanal.hashnode.dev·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·94 readsNode.js
Mritunjay Kumarmritunjaykumar07.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...Discuss·39 readsPython
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·30 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·82 readsdotenv
Andrianarisoa DanielforDevist Team Bloghashnode.devist.xyz·Mar 20, 2023How to load different .env files with dotenv the correct wayIntroduction An Environment file (.env file) is a sustainable way to store environment variables while in development. With the help of the dotenv package, we can easily load those environment variables into our app which need them. But sometimes we ...Discuss·67 readsdotenv
Mowa Ijasanmicodlog.hashnode.dev·Feb 17, 2023Django Secrets - keeping secrets safe with python-decoupleDatabase passwords, API keys and a host of other parameters are needed for a Django app to function properly. Some of these parameters are crucial and are best kept as secrets in safe and private environments. A good number of libraries have been pro...Discuss·170 readspython-decouple
Kehinde Lawalkehindelawal-articles.hashnode.dev·Dec 5, 2022Package.json: How To Switch Your Node EnvironmentProblem Statement As developers, even while putting it all together we need to be able to test the functionality of our applications in a real-life-like environment but without actually making changes to our real data. To achieve this flexibility we ...Discuss·98 readsNode.js