---
title: "Discussion on \"React: Protecting your variables in production by using Environment\" | Hashnode"
description: "Discussion on \"React: Protecting your variables in production by using Environment\". ##What is Environment Variables?\nIt is a convention to store sensitive information (API Keys, DB URLs, API URLs...) with in your application  by wrapping it in a .env file.\n##How to use Environment Variables?\ncreate a .env file in the root directory ..."
url: "https://hashnode.com/posts/react-protecting-your-variables-in-production-by-using-environment/6252712792d73e7055c1918a"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [React: Protecting your variables in production by using Environment](https://letscode.adelpro.us.kg/react-protecting-your-variables-in-production-by-using-environment?utm_source=hashnode&utm_medium=feed)

##What is Environment Variables? It is a convention to store sensitive information (API Keys, DB URLs, API URLs...) with in your application by wrapping it in a .env file. ##How to use Environment Variables? create a .env file in the root directory ...

Apr 10, 2022 · 2 min read · letscode.adelpro.us.kg  
Read the article

-   [#reactjs](https://hashnode.com/tag/reactjs)

## Written by

[adelpro](https://hashnode.com/@adelpro)

@adelpro · Algeria

  
[View profile](https://hashnode.com/@adelpro)

Web developer

I am a web developer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
