TUK-3oon / hello-tarot-BE

hello-tarot project BackEnd
0 stars 1 forks source link

feat: [#14] celery setting #15

Closed hellojunho closed 2 months ago

hellojunho commented 3 months ago

I have applied celery options.

Can I get some advice?

I can't create tasks.py yet.

kim-song-jun commented 3 months ago

@hellojunho We can generate BaseCelery class by using inheritance from Celery class. I will explain tomorrow

kim-song-jun commented 3 months ago

And it will be used in decorator

hellojunho commented 3 months ago

And it will be used in decorator

Thank you i will study about celery

hellojunho commented 2 months ago

I seperated api and celery task about game end api.

  1. /game/end
    • request: {game_id, select_card_id, all_select_card_id}
    • response: {True or False}
  2. /game/status
    • request: {game_id}
    • response: {READY or STARTED or FINISHED}
  3. /game/answer
    • request: {game_id}
    • response: {answer of game_id}