700 B
700 B
- Create a new project
- Setup sign in methods to be user and email only.
- Update .env to include config.
- Setup the Firebase CLI
- cd to client firebase at server directory.
- ensure all dependencies installed
- $ npm install firebase-functions@latest firebase-admin@latest --save
- $ npm install -g firebase-tools
- $ firebase login //Login as needed.
- Set the current projct
- firebase use
- Deploy the function
- $ firebase deploy --only functions
- Add the allowed domains.
- Update server variables including FIREBASE_ADMINSDK_JSON, FIREBASE_DATABASE_URL
- Create the firestore and copy the rules from dev for userinstances.