meet-meteor

A shower of Meteor meetups

Stars
19
Committers
3

Meet Meteor

The meatier meetup site for meteor meetups

An exercise in pulling data from http://api.meetup.com via serverside Meteor.http requests, to terraform a better life.

Forked from: https://github.com/olizilla/meteor-london

Feel free to re-use it for your meetup, hack it or otherwise noodle it to your hearts content, it's free as in Hugs.

Getting started

{
    "meetupApiKey": "get your key from http://www.meetup.com/meetup_api/key/",
    "public": {
    	"groups":[
            "Meteor-London",
            "Meteor-Paris",
            "Meteor-Etc",
        ]
    }
}
  • Launch a meteor, passing it the path to the settings.json
meteor --settings settings.json

or use the handy run.sh

  • If all is well, the app will pull the latest event data for all the Meteor meetups on meetup.com, and render it for you at http://localhost:3000

An aside for the interested reader

The reason for passing in your meetup api key is to keep it out of the source code, so it doesn't get committed, and others can provide there own. Your meetup api key is supposed to be secret, so we don't go passing it to the client. server.js uses the api key to contact api.meetup.com and sync it's interesting data to local Meteor collections.

I've added

  • Http request queue to throttle usage of api.meetup.com to avoid hammering the service and getting blocked.
  • Prioritised subscription two-step dance so clients on slow connections get the most important data first.
    Ideally we'd set the main header from the group data, but as an ux optimisation we set it from the settings, so that it appears on page load rather than after the first data subscription.

The rest is experiment. Feel free to add some of your own, submit pull requests or add issues.

TODO

  • Add collection for demo'd things, so each past event can have a list of urls to things shown.
  • Allow RSVP & Checkins, via accounts-meetup auth.
  • MOAR GRAPHS.