Introduction to Express - DotEnv for Environment Variables
Difficulty: Beginner
Duration: 4 minutes and 2 seconds
Students: 34
In this lesson, you will learn how to install and implement the dotenv NPM package to use environment variables inside your express application. Dotenv attaches environment variables as properties inside of the process.env object.
Learning Objectives
- Install dotenv package
- Implement a .env file
- Learn what dotfiles are in general
- Import the dotenv package inside of an Express package
- Use environment variables inside of the Express package
Intended Audience
- This lesson is intended for anyone who wants to learn about Express
Prerequisites
Covered Topics