geeksessions / geeksessions.io

website repo for Geek Session Faro
https://geeksessions.io
10 stars 7 forks source link

Events backend #13

Closed andrezzoid closed 4 years ago

andrezzoid commented 4 years ago

For automating how our next events are published on the website I'm proposing to build a serverless function using our provider Zeit that can access our #announcements channel on Discord and extract the next events in such a way that:

Bonus points for extracting the date of the event in the message and using it for order and event staleness. While exploring this possibility I believe it would be fine to create a publication template that would be respected for the function to understand it should be posted on the website. As an example:

Title;Date;[Message]
mcoquet commented 4 years ago

alternative approach , just for discussion:

The service uses a google calendar as a "database" to store events.

andrezzoid commented 4 years ago

@mcoquet yeah, definitely a great alternative!

penelopeg commented 4 years ago

I'm going to check how google's calendar api (https://developers.google.com/calendar/) works and see if it's easy to use :) We might still have to decide on a format for the event's title, specially if we're going to have events that are just ideas and not official yet, that way we only pull the official dates to the website