Intro-to-Data-APIs-JS icon indicating copy to clipboard operation
Intro-to-Data-APIs-JS copied to clipboard

Module 3 - adding authentication layer & adding .env reference

Open joeyklee opened this issue 6 years ago • 2 comments

Hi @shiffman!

I made an updated version of the weather application for module 3 that makes use of the node environment variables using .env and making use of a config.js file to take care of things like PORT and USERNAME and PASSWORD for adding a simple authentication layer - similar to using an API key. We can use the version without authentication, but just wanted to bring this to your attention in case this makes sense for you.

See: https://github.com/joeyklee/the-weather-here/tree/with-authentication

joeyklee avatar Mar 27 '19 20:03 joeyklee

Awesome! I'd love to cover this and I think it'll just come down to how much time there is. . .Since each module will be a series of 3-5 videos, I think adding an additional one to talk about authentication would be really great!

shiffman avatar Mar 27 '19 21:03 shiffman

@shiffman - cool! I'm happy to clarify or shed light on anything that might be confusing. Thanks! 🙏

joeyklee avatar Mar 27 '19 22:03 joeyklee