Skip to content
This repository has been archived by the owner on Apr 6, 2023. It is now read-only.

TaskRatchet/autodial

Repository files navigation

autodial

Local Development

Creating your Beeminder test client

  • Go to your account settings
  • At the bottom of the page, click "Register a new app"
  • Name it something like bm_autodial_dev
  • Use http://localhost:8888 as the redirect and post-deauthorize callback urls
  • Copy the client ID into your .env.local file

Cloud Functions

Install the global firebase CLI:

npm install -g firebase-tools

Login with [email protected]:

firebase login

Run tests:

cd functions/
npm run test

Serve the function locally:

firebase serve --only functions

Todos

  • Set up automatic functions deploy via gh actions on master branch
  • Set up cron trigger on gcp function via gcp scheduler
  • Require CI test passes for merge to master
  • Consider using a tool for monorepo management, such as TurboRepo, Lerna, or TSDX

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published