---
title: "Discussion on \"Using .env file in Node\" | Hashnode"
description: "Discussion on \"Using .env file in Node\". In this article I am going to discuss about environment variables,purpose of using it, how to use environment variable,reason to use .env file. So beginning with...\n1) What are environment variables and the purpose of using it?\nEnvironment variables ..."
url: "https://hashnode.com/posts/using-env-file-in-node/60003ca3c162d710c9b15102"
---

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

Discussion

# [Using .env file in Node](https://rushabh.hashnode.dev/using-env-file-in-node?utm_source=hashnode&utm_medium=feed)

In this article I am going to discuss about environment variables,purpose of using it, how to use environment variable,reason to use .env file. So beginning with... 1) What are environment variables and the purpose of using it? Environment variables ...

Jan 14, 2021 · 5 min read · rushabh.hashnode.dev  
Read the article

-   [#nodejs](https://hashnode.com/tag/nodejs)
-   [#web-development](https://hashnode.com/tag/web-development)
-   [#backend](https://hashnode.com/tag/backend)

## Written by

[Rushabh Sancheti](https://hashnode.com/@Rushabh23)

@Rushabh23

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

## Responses 2

Markdown supported · ⌘↵ to post

[kiran\_Mate](https://hashnode.com/@Kiran16)

[Jan 18, 2021](https://hashnode.com/posts/using-env-file-in-node/60003ca3c162d710c9b15102/comment/6005d3bf7b30c23b714ab955)

Bookmarked! explained really well :)

[Siddhesh](https://hashnode.com/@siddh3sh)

[Jan 14, 2021](https://hashnode.com/posts/using-env-file-in-node/60003ca3c162d710c9b15102/comment/600055b3c162d710c9b1545b)

Quick, precise and to the point explanation of a very important concept which is often overlooked while developing NodeJs projects.
