Deploying Firebase Cloud Functions
This guide will walk you through deploying Firebase Cloud Functions for handling subscription renewal and subscription switches in your ShipFast app.
Steps for Deployment
1. Set up Firebase CLI
If you haven't already, install the Firebase CLI globally on your machine:
npm install -g firebase-tools
2. Login to Firebase
Login to your Firebase account by running the following command in your terminal:
firebase login
3. Deploy Firebase Cloud Functions
Once your functions are set up, you can deploy them by running the following command:
npm run deploy