For new project
- Install NodeJS https://nodejs.org/en
- Open a terminal
- Install Firebase Tool
npm install -g firebase-tools
- Login to Firebase Tool
firebase login
- Create project directory
- Navigate there with
cd your-project-dir
- Run
firebase init
to create firebase project - Local Testing: firebase emulators:start --only functions
- Enable Bubble API on bubble.io
- Environment through: SET: functions/.env & GET: process.env
BUBBLE_DATA_URL=https://yourapp.bubbleapps.io/version-test/api/1.1 BUBBLE_API_KEY=123456789