1-of-1 / commerce1of1.x

0 stars 0 forks source link

*Set up SQL #3

Open AndrewOluoch opened 3 years ago

AndrewOluoch commented 3 years ago

https://firebase.google.com/docs/database/web/structure-data

*CI/CD-Cloud Firestore -https://betterprogramming.pub/set-up-ci-cd-with-firebase-gcp-and-github-in-10-minutes-be76bee4579e

-https://cloud.google.com/docs/ci-cd

*Hosting https://firebase.google.com/docs/hosting

daveeclark commented 2 years ago

Firestore Security Rules allow you to define how and when to allow requests. You can keep these rules in your project directory and publish them with firebase deploy.

File used for Firestore Rules: firestore.rules

Firestore indexes allow you to perform complex queries while maintaining performance that scales with the size of the result set. You can keep index definitions in your project directory and publish them with firebase deploy.

File should be used for Firestore indexes? firestore.indexes.json

=== Functions Setup

A functions directory will be created in your project with sample code pre-configured. Functions can be deployed with firebase deploy.

Visit https://firebase.google.com/docs/database/security to learn more about security rules.

What script should be run before every deploy? npm ci ("continuous integration" similar to clean install, readies all dependencies within application to be ready to deploy) && npm run build (performs any necessary building/prep tasks for project)

=== Storage Setup

Firebase Storage Security Rules allow you to define how and when to allow uploads and downloads. You can keep these rules in your project directory and publish them with firebase deploy.

Project Console: https://console.firebase.google.com/project/of1-fff34/overview Hosting URL: https://of1-fff34.web.app