-
Create your Cloudflare account: https://dash.cloudflare.com/sign-up
- Run this commands:
npm installnpm start
- After starting the project, please accept Cloudflare's terms to use Cloudflare workers
- Run this commands:
-
On your GitHub settings repository, create these actions secrets:
CF_ACCOUNT_IDHow to getCF_API_TOKENHow to get
-
Run this command to deploy your Cloudflare worker:
npm run deploy
-
Create your FaunaDB account: https://dashboard.fauna.com/accounts/register
-
On your Cloudflare worker service, create these environment vars:
FAUNADB_APIFAUNADB_SECRETJWT_SECRET_KEYMONGODB_GRAPHQL_URLMONGODB_GRAPHQL_KEYHCAPTCHA_VERIFY_URLHCAPTCHA_SITE_KEYHCAPTCHA_SECRETPASSWORD_SECRETCLOUDFLARE_ACCOUNT_IDCLOUDFLARE_PROJECT_NAME
npm startnpm run deploy
