1.0.1-alpha.0 • Published 2 years ago

pawsh-debug v1.0.1-alpha.0

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

pawsh-utils

Keys needed

Error Handling

  • res.locals
    • statusCode: set any http status codes e.g. 422, 400
    • userErrorMessage: error message for user to understand
    • errorLogName: log name for better filter on cloud logging
  • if LOCAL_HOST is not 'running', it will print error in Google Cloud Logging

Stripe:

  • NODE_ENV: dev, test, prod
  • STRIPE_SECRET_TEST_KEY: sk_xxx

Firebase Auth and FireStore

SendBird

Twilio Phone Number for sms

  • TWILIO_PAWSH_CALLER: valid phoneNumber

Initial setup

  • TWILIO_LIVE_ACCOUNT_SID
  • TWILIO_LIVE_AUTH_TOKEN

Phone verification

  • TWILIO_VERIFY_SERVICE_SID

Others

  • TWILIO_API_KEY
  • TWILIO_API_SECRET
  • TWILIO_APP_SID

  • TWILIO_SERVICE_SID