import { collection, getDocs, addDoc, updateDoc, deleteDoc, doc, query, where } from "firebase/firestore";
import { db } from "../firebase";
// not neccessary but i reccomend writing all the firebase/db interface logic in a file like this
// even a function like getall() or update(id, {data}) witten once here will save you a ton of time
// after you write those you can wrap them up in a context so everything is standard across your project