Skip to content

Latest commit

 

History

History
23 lines (12 loc) · 752 Bytes

README.md

File metadata and controls

23 lines (12 loc) · 752 Bytes

programming.in.th

API Deploy to CF

Firebase Cloud Functions for programming.in.th (beta)

Contains all back-end code

Test with production database [DANGEROUS]

export GOOGLE_APPLICATION_CREDENTIALS="[PATH_TO_CREDENTIALS]"

Start function emulators

Change directory to functions and run npm run-script dev

To make requests to the local server, add .useFunctionsEmulator() to firebase.app().functions('asia-east2') in src/lib/firebase.ts and change base URL in src/config.ts

Deploy

Push to default branch