100DaysOfCode-twitter-bot icon indicating copy to clipboard operation
100DaysOfCode-twitter-bot copied to clipboard

Use GraphCool for backend

Open spences10 opened this issue 6 years ago • 4 comments

Using GraphCool to store the data the bot uses for things like:

  • The Project of the Day, items could be tweeted sequentially and not repeated
  • Inspirational quote items could be tweeted sequentially and not repeated
  • Encouragement via the sentiment API could be better handled and use more than a key value pair
  • Retweets can be checked so the bot is not retweeting a popular tweet

spences10 avatar Aug 04 '17 05:08 spences10

I think this will be exciting. I haven't personally seen GraphQL actually works, but if you are familiar with it, why don't you go ahead? Let's make separate repo to work with Graph and after some iterations, if we reach a success level and everything is working as they are, we can switch to it. What do you think?

amandeepmittal avatar Aug 04 '17 08:08 amandeepmittal

Ok, I was thinking that we could keep the 'Heroku' / 'local storage' branch and create a GraphQL branch, if we like it then switch to master?

spences10 avatar Aug 04 '17 09:08 spences10

That's a great idea!

amandeepmittal avatar Aug 04 '17 10:08 amandeepmittal

Ok, well assign to me and I'll have a play 😄

spences10 avatar Aug 04 '17 10:08 spences10