backend for https://birlug.ir/nowruz.html.
- create an API token from the cloudflare dashboard.
- create a D1 database (if you've done it before, skip this step)
$ npx wrangler d1 create db
and put the associated ID in the wrangler.jsonc
file.
- upload the secrets (telegram token) and database schemas by:
$ make prepare
- deploy
$ make deploy