A CSV file is a text file that contains data.
CSV stands for Comma Separated Values, so that means the values in the text file are, usually, all separated by commas.
The first line in a CSV file contains all the keys for the data.
Every line after that contains the values, in exactly the same order as the keys.
This can look like this:
first_name, last_name, email, age
Terry, Daniell, email@example.com, 47
Shirley, Nielson, firstname.lastname@example.org, 28
Gabriella, Ridge, email@example.com, 82
This way data can efficiently be stored since the keys are not repeated.
CSV files contain data quite efficiently compared…
If you are building a web app, the chances are good that you need to use a secret API key that you do not wish to be published online.
That is where environment variables come in.
Note: This article is specifically aimed at working with Netlify environment variables, but the information about environment variables is not Netlify specific.
Taken from Free Code Camp:
“Environment variables are predetermined values that are typically used to provide the ability to configure a value in your code from outside of your application.”
One hugely important use for environment variables is storing API keys.
Full project: CodePen
If you are gonna build a web app, you will probably have to display some data of the user.
To make it easier for users to access the relevant data, we can sort and filter their data.
In this article, I will show you how you can do this with Vue.
So let’s say you are trying to make a web app to display a bunch of different recipes.
These recipes all have different properties.
For a recipe, it’s important to know what ingredients you will need and how much time you need to cook. …
Frontend developer working with Vue.js and Nuxt