Channel: @ThapaTechnical
Welcome, How to Manage Secrets & Configs using .DOTENV in NodeJS and MongoDB in Hindi. Also, how to Securely Add projects in GITHUB in Hindi
What is The dotenv module in Hindi?
The dotenv is a zero-dependency module that loads environment variables from a .env file into process.env. Storing configuration in the environment separate from code is based on the Twelve-Factor App methodology.
Environment variables Environment variables allow us to manage the configuration of our applications separately from our codebase. Separating configurations makes it easier for our application to be deployed in different environments.
Environment variables are variables external to our application that reside in the OS or the container where the production application is running. Because development is mostly done on local machines, environment variables are put either to local environment variables with commands such as asset or export, or stored in the local .env file.
By convention, the variables are written in uppercase letters (e.g. PORT).
Common examples of configuration data that are stored in environment variables include:
HTTP port database connection string location of static files endpoints of external services The .env file should never be committed to the source code repository. We must place the file into the .gitignore file. (When using git.)
Modern editors have support for .env files; for instance, the code has the DotENV extension.
The .env parsing rules Here are some basic parsing engine rules:
BASIC=basic becomes {BASIC: 'basic'} empty lines are skipped comments start with # empty values become empty strings; BASIC= becomes {BASIC: ''} inner quotes are maintained Existing environment variables are not modified; they are skipped.
😍 Check my Instagram to Chat with me: https://www.instagram.com/vinodthapa55
✅ NodeJS Tutorial in Hindi 2020: https://www.youtube.com/playlist?list=PLwGdqUZWnOp00IbeN0OtL9dmnasipZ9x8
✅ Express JS Tutorial In Hindi in 2020: https://www.youtube.com/playlist?list=PLwGdqUZWnOp3Vqww2cL5KbDkShj4NMRzk
************* Must Watch Videos For Web Development *************
➡️ ReactJS Tutorial in Hindi 2020 Playlist Link: https://www.youtube.com/playlist?list=PLwGdqUZWnOp3aROg4wypcRhZqJG3ajZWJ
😍😍 Check Programming Videos in One Hour👇
➡️ Complete Reactjs in One video here https://youtu.be/43IbFDSVdB0
➡️ HTML in One Video: https://youtu.be/pN7BFLfSjFw
➡️ CSS in One video: https://youtu.be/hkQv0NIxKQY
➡️ CSS FlexBox in 30 Minutes: https://youtu.be/6L-PAmZajfA
➡️ JavaScript in One video: https://youtu.be/PODgPW-hbfU
➡️ ECMAScript 6 in One Video: https://youtu.be/Iek4DtRobLA
➡️ HTML5 in one video: https://youtu.be/4V0-YpO-KZo
➡️ CSS3 in one video: https://youtu.be/TFrFx7H5ZI8
➡️ Bootstrap4 in One video: https://youtu.be/yZnNnvXO8HI
➡️ Jquery in One video: https://youtu.be/PNvyPEQ0y-I
➡️ JSON in one video: https://youtu.be/bMqevPKAPD4
➡️ ReactJS in one video: https://youtu.be/43IbFDSVdB0
➡️ PHP in One Video: https://youtu.be/3024Kc6SDJ0
➡️ NodeJS in one video: https://youtu.be/ipnWAKoiBt
➡️ MySQL in one video: https://youtu.be/5bFxbwjN-Gk
*********** CLICK HERE TO WATCH *************
➡️ Advanced JavaScript in Hindi Playlist: https://www.youtube.com/playlist?list=PLwGdqUZWnOp0hSGwasCjbrWSPrEKqB_kz&disable_polymer=true
➡️ ECMAScript Tutorial in Hindi 2020: https://www.youtube.com/playlist?list=PLwGdqUZWnOp19VX-DM4oHtmWhDfWblFh-
➡️ ES5 & ES6 | ECMAScript 6 in One Video in Hindi: https://youtu.be/Iek4DtRobLA
➡️ Source Code Link: https://www.thapatechnical.com/2019/11/how-to-get-source-code.html
➡️ Top 5 Programming Languages in 2020: https://youtu.be/czroY5nAD0c
➡️ Ludo Game JavaScript Link: https://youtu.be/_tlncjn1JpU
➡️Plz show some love to My Siter Youtube Channel and Plz Subscribe Link: https://www.youtube.com/channel/UCEst8yZ12JEYsSVVXmtU7GQ
***************** MUST WATCH VIDEOS ******************
➡️ How to become a Full Stack Developer 2020: https://youtu.be/etZ4jq_YjyM
➡️ How To Become a Web Developer 2020: https://youtu.be/Ur9LGVT-GXs
➡️ How JavaScript Works: https://youtu.be/VaBP6_pBOgM
➡️ Follow me on Instagram: https://www.instagram.com/vinodthapa55/
Make Website Responsive Using Media Queries in One Video in Hindi | Web Design Tutorial in Hindi
➡️ Link: https://youtu.be/cKR9gzco3Kc
Guys, Please support my channel by SUBSCRIBE to my channel and share my videos in your Social Network TimeLines.
Don't Forget to Follow me on all Social Network,
Website Link: https://www.thapatechnical.com
Instagram Link: https://www.instagram.com/vinodthapa55
Facebook Link: https://www.facebook.com/vinodthapa55
Twitter Link: https://twitter.com/vb55thapa
Facebook ThapaTechnical Page Link: https://www.facebook.com/vinodbahadurthapa/?ref=aymt_homepage_panel&eid=ARCTi5kdE1POliSOXnW51qZdo6NcpcSOqrioqut1KDac_CfgY5OCey-vcHlgRDgc_OK6eYNFCF_Rrfiq