Skip to content

jonathan-kelvin/gtd-be-express

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GTD XXV BE (leaderboard, telegram bot) npm run dev

Features: a. API (CRUD)

  • Get entries
  • Get leaderboard
  • Post entry
  • Patch entry
  • Delete entry

b. Telegram Bot

  • /start
  • /help
  • /leaderboard
  • /view
  • /viewmore
  • /create
  • /delete
  • /deleteall

TODO

  • docs (swagger, readme)
  • dockerize for deployment

DONE

  • db connection
  • tele username whitelist
  • valid og and day validation
  • CRUD api endpoints
  • tele bot commands
  • custom /help based on role
  • batch send tele msg when charCount > 4096

FUTURE DEV:

  • better auth for protected endpoints
  • better request body validation (express-validator or joi)
  • better routes (use express.Route)
  • better create/update tele bot prompts (inline keyboard / stateful app)
  • /update tele command
  • make whitelist and /help more dynamic using mappings

About

Express app written in Typescript for GTD XXV

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published