victorwrotethis/streamer-endpoints

Move followage controller code to separate service

Closed this issue · 0 comments

The FollowAgeController contains a lot of logic in it that should be in a FollowAgeService in the twitch package instead.

  • Create FollowAgeService with component annotation
  • Inject new service into controller and move dependencies to service only.

Optional

  • Code cleanup (remove unnecessary code)
  • Change izo to 'main-streamer' and move it to its own StreamerConfiguration.
  • Include proper logger instead of stdout;
  • Make code less ugly and into more methods;