creating json to store to firestore
Im working with React, I’ve created some data from scratch for it, the data is currently stored locally, but id like to store it on firestore and retrieve it from there. This is my first time trying this.
I have a page with 6 categories displayed, when i go inside each category, the related items are displayed on a separate page. (some items belong to multiple categories).
my current structure is this:
export const plants = [
{
id:1,
name:orchid,
price:23
}
… and so on