javascript firestore autoID code example
Example: javascript firestore autoID
import firebase from "firebase";
// Firebase will add an auto-ID when you leave the .doc() function empty
firebase.firestore().collection("myCollection").doc().set({ key: "value" });