This repository has been archived by the owner on Jul 21, 2020. It is now read-only.
Creating a new meetup on meetup.com when a new event is pushed to the db and activated. #6
Labels
enhancement
New feature or request
help wanted
Extra attention is needed
question
Further information is requested
The back story:
New events can be written to the db by the admins via the admin panel.
There will be an optional flag to make it live on meetup.
The problem:
This requires publishing the event via meetup apis. However, since this is a call to an external API, we'd normally have to get a paid plan to do that.
Proposed solution: Trading time for money.
Here's how we can totally legitimately get an integration like that going without moving to a paid plan.
Drawbacks
While the pi does stay up 90% of the time, it's possible that the net's down, or there's a power cut or something else has taken the pi offline.
This is actually automatically dealt with, since the next time the pi comes back online, it will read the db and make the api call at that time.
Since the firestore is the single source of truth, this isn't going to go out of sync though we may need identifiers on it such as 'meetup api call in progress' to know if there is going to be a delay.
Therefore, under normal circumstances if we're not rushed, this delay of maybe hours? Shouldn't matter.
Discussion
This is one proposed solution to staying on a free plan and still achieving everything we wanted.
I maintain a pi that's always on anyway, so I could easily host this.
Thoughts? Ideas? Code to propose?
The text was updated successfully, but these errors were encountered: