Skip to content

programming-in-th/firebase

Repository files navigation

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

About

programming.in.th's firebase related code

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published