CodingTrain / Intro-to-Data-APIs-JS

Working with Data and APIs in JavaScript
MIT License
756 stars 611 forks source link

Module 3 - adding authentication layer & adding .env reference #21

Open joeyklee opened 5 years ago

joeyklee commented 5 years ago

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

shiffman commented 5 years ago

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!

joeyklee commented 5 years ago

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