-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feat: Event Calendar #53
Comments
Did a little research on potential plugin to use and came across a few:
The feature that may cause problems is being able to add additional events besides those found on meetup.
|
Thanks for that research @destos. Now that we've moved over to using NextJS instead of Gatsby, however, it's likely that we'll be able to implement this with a simple data loader. We're currently in the process of updating the documentation to reflect the change in framework. You'll find some helpful information in the README.md and CONTRIBUTING.md. Don't hesitate to reach out with any questions, of course! We have a new Slack Channel dedicated to this project that will probably get you the quickest response. |
@destos To answer a few of your questions above, I do think it's been mentioned that events may well come from outside of meetup, as well. I think organizers liked the idea of using Google Sheets as the source of Truth and updating the website, meetup, etc. based on the Google Sheets primary source. @chimchim237 would know better than I, though. As far as how and when the website updates from that source, I think a compelling option is to use Next's Incremental Static Regeneration feature. |
Ok, so looks like plan here is 2 pronged approach:
Use the merged dataset to prerender the page at build time and we'll do regular builds via GH actions as needed. I think as Alec points out we can probably leverage the Incremental regeneration here too. Need to figure out how we want to handle secrets/dataset for local development. For deployment we can use GH Repo and Heroku as needed for secret stores. I was just reading up on doing encrypted secrets on github for environment configs so I can hopefully just set that up with the meetup and google sheets keys. Meetup API looks like it's GraphQL and it seems like Apollo is the most ubiquitous client approach with Next..? Seems easy enough to do the two queries and format the dataset in getStaticProps and then render cards from that. |
Just pushed up a branch
|
We're going to drop the google sheet integration for now in favor of pulling event info from .md files in an |
Build out page that displays index of event card components. Should pull data from Meetup API. Might be good if we can also pull from an airtable or google sheet-esque source. Maybe we single source the site to the sheet/table and run an ETL to populate meetup to the table so there's a layer of manual control between meetup and site?
The text was updated successfully, but these errors were encountered: