reactjs-dallas / meetup-metrics

Metrics for the ReactJS Dallas meetup
MIT License
5 stars 38 forks source link

Make the dialog reusable for each meetup #23

Open m2mathew opened 6 years ago

m2mathew commented 6 years ago

Right now we only have one meetup listed in the project. The way it is coded makes sense to use the <DialogAttendance /> for each meetup. This will allow very easy additions for future events, and I can go back and add historical event data, as well.

Need to abstract out a few props to make it work out:

Also, it will be a good idea to put the dialog-attendance.js file into the shared folder, since that file will be used in many circumstances.

petermiles commented 6 years ago

So how would you like to persist this data for each meetup? Were you thinking of using some type of datastore or would you like everything to be kept locally in a json file?

m2mathew commented 6 years ago

Was thinking JSON file like it is now, but you might be on to something here. 🤔

Ideally, people could sign in with some sort of app, and we can collect their names to display in this space. That could take many forms.

Another group that I help run uses a firebase datastore to persist all attendance and we just display each attendee's name like this Mike M. for privacy reasons.

Right now we are usually having people signing in with a pen/paper, but that it far less ideal.

Seems like a separate app to take attendance might be needed. Then this app could grab that data and display it for our historical record of attendance.

petermiles commented 6 years ago

I'm a firebase developer and I could set this up fairly quickly. I think it'd be pretty easy to use Firestore to persist everything.

petermiles commented 6 years ago

How would you like to set up a separate app to do this?

I'm not sure if you have a domain for the reactJS meetup, but you could setup a subdomain like attendance.reactJsDallas.org and have attendees go to that website to take attendance.

Then on your metrics page, you can pull collections by the date and manipulate your data based on that?

petermiles commented 6 years ago

Still in need of this? I didn't know if I had to be assigned this as a task to work on it.

m2mathew commented 6 years ago

Hey, @petermiles, sorry been hanging with the family and mostly avoiding code over the holidays. 🙈

Yeah, I think we should move forward with making an attendance app.

Short term for me to do:

Long term:

Ideally, we could just host here on gh-pages (I know, not https). But I don't think gh-pages allows us to use a subdomain, right?

petermiles commented 6 years ago

All's good.

Firebase gives us free https hosting :-)