DEV Community

loading...

Discussion on: Simple Weather App on Vue.js

Collapse
pyrodogg profile image
Skyler Kehren

Thanks for the walkthrough.

My first suggestion is to get things like API keys and passwords out of code and into environment variables. Even for learning projects, this is a good practice to follow. Your weatherbit key is now public, in both the snippets in this post and in your git repository.

Collapse
oxyyyyy profile image
Alexandr Vlasenko Author

Sure, you are right.
But this project is intended completely for educational purposes, so it's public for everyone.
Thanks for the feedback!

Collapse
develosaur profile image
Derek

While this is true, I, as a newbie, would like to know proper practices when doing things like this. An update would be great!