/boulder-statistic-backend

This is the back-end for visitor count of my local boulder gyms. Build with Typescript and deno.

Primary LanguageTypeScriptGNU General Public License v3.0GPL-3.0

boulder-statistic-backend

This is the back-end for some statistic about visitor count of my local boulder gyms. It have telegram integration for notification purpose.

Telegram Bot: http://t.me/BoulderGymBot

features

bot commands

  • /kosmosstatus

    • retrieve the actual visitor status from kosmos
  • /kosmoson

    • activate the threshold notification from kosmos
  • /kosmosoff

    • deactivate the threshold notification from kosmos
  • /blocstatus

  • /blocon

  • /blocoff

  • /bloc_climbingstatus

  • /bloc_climbingon

  • /bloc_climbingoff

How to build and run

precondition

  • install deno | last tested version 1.0.3
  • get telegram api token here

start the backend

deno run --allow-net --allow-env --allow-read --allow-write --unstable src/app.ts

run test

deno test --allow-net --allow-env --allow-read --allow-write --unstable