adalong-db-cloudfn-api
v1.1.0-beta.28
Published
This package groups the common things to call the database API to AdAlong Back-End and to call Cloud Functions
Downloads
20
Readme
README
This package will help you call database API to AdAlong MongoDB through REST Calls. Also, you will be able to call our Cloud Functions.
Env Vars Needed for this package to work
| | | |---|---| |DATABASE_API_PASSWORD|Database SHA256 pwd. |ADALONG_API_URL|AdAlong API Url (i.e: https://api-dev.adalong.com)| |CLOUDFUNCTIONS_TOKEN|Cloud Functions Token to log in to Google Cloud Functions| |FUNCTIONS_URL|Function URL (i.e: https://localhost:8888 https://us-central1-adalongpoc.cloudfunctions.net/dev)|
Typing
This package is using TypeScript 3.1.4
// usecase import {call} from 'adalong-db-cloudfn-api'
call.get('name', {}).then(...)