Skip to content

wildan3105/cfc-schedules-tweet

Repository files navigation

cfc-schedules-tweet

Send tweets ahead of Chelsea FC's match!

Feature(s)

  1. Send a tweet ahead of Chelsea FC's match:
    • one day before the match
    • one hour before the match

Example of the tweet

Day-1

day-1-reminder

Hour-1 reminder

hour-1-reminder

High-level flow

system-architecture

How to run locally

  1. Cron for fetching the matches
npm run match-fetcher
  1. Cron for reading the matches from redis
npm run match-reader
  1. Worker to subscribe to redis
npm run sub

Cron scheduling

  • match-fetcher -> runs every hour
  • match-reader -> runs every 10 minutes

Releases

No releases published

Packages

No packages published

Languages