MajorityLeader / youtube-committee-videos

Copy of YouTube video pulling API from DomeWatch
0 stars 0 forks source link

Testing the API #1

Open w4sspr opened 2 months ago

w4sspr commented 2 months ago

The .env file in the project root needs to be updated with dev firebase credentials for testing purposes, just to double check everything works as expected

This requires setting up a dev environment on firebase @syntheticgoo

w4sspr commented 2 months ago

Latest when trying to use firebase emulators with domewatch-dev:


firebase emulators:start
i  emulators: Starting emulators: firestore, database, storage
⚠  firestore: Cloud Firestore Emulator does not support multiple databases yet.
⚠  firestore: Did not find a Cloud Firestore rules file specified in a firebase.json config file.
⚠  firestore: The emulator will default to allowing all reads and writes. Learn more about this option: https://firebase.google.com/docs/emulator-suite/install_and_configure#security_rules_configuration.
i  firestore: Firestore Emulator logging to firestore-debug.log
✔  firestore: Firestore Emulator UI websocket is running on 9150.
⚠  database: Did not find a Realtime Database rules file specified in a firebase.json config file. The emulator will default to allowing all reads and writes. Learn more about this option: https://firebase.google.com/docs/emulator-suite/install_and_configure#security_rules_configuration.
i  database: Database Emulator logging to database-debug.log
i  emulators: Shutting down emulators.
i  database: Stopping Database Emulator
i  firestore: Stopping Firestore Emulator
i  hub: Stopping emulator hub

Error: Cannot start the Storage emulator without rules file specified in firebase.json: run 'firebase init' and set up your Storage configuration```