DEV Community

Ania Kubow
Ania Kubow

Posted on

Add a .env file to your simple JavaScript Project (video)

This weeks video sponsor is HarperDB. Use ANIAKUBOW for $250 off at https://studio.harperdb.io/sign-up?code=ANIAKUBOW

In this weeks video I show you how to store secret API or SKD keys in your
JavaScript, HTML and CSS project.

We will be doing this with the help of:

  • Node.js
  • Webpack
  • Dotenv Webpack

Here is the final code in an example: https://github.com/kubowania/pacman-AI-live

If you did like this video, please hit the Like and Subscribe button so I know to make more!

Twitter: https://twitter.com/ania_kubow
YouTube: https://youtube.com/aniakubow
Instagram: https://instagram.com/aniakubow

javascript #dotenv

Top comments (0)