DEV Community


Discussion on: Simple Weather App on Vue.js

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.

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!

develosaur profile image

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