Skip to content

Latest commit

 

History

History
27 lines (21 loc) · 801 Bytes

README.md

File metadata and controls

27 lines (21 loc) · 801 Bytes

Program Plz!

Have a program :)

Firebase stuff

Store env vars firebase functions:config:set someservice.some_key="123" --project program-plz firebase functions:config:get program-plz

Update tools - run from functions folder npm install firebase-functions@latest --save firebase-admin@latest --save npm install -g firebase-tools

Deploy functions only firebase deploy --only functions firebase deploy --only firestore:rules

Code design

  • Components should only use its methods to call services.
  • Services should implement design patterns
  • Componenets should have no logic; they must only control layout/design + delegate user interaction + show results.

CRUD

  • Firestore rules
  • Service
  • Area: module + components (optional)
  • Search: Algolia index + enable search (optional)