Skip to content

Instantly share code, notes, and snippets.

@rlemon
Created December 10, 2014 13:09
Show Gist options
  • Save rlemon/c9a67d1f4b532bdf672d to your computer and use it in GitHub Desktop.
Save rlemon/c9a67d1f4b532bdf672d to your computer and use it in GitHub Desktop.

Requirements:

  • Login system (openID, oAuth, local, I don't care which, I just need a name and an email)
  • table to hold daily votes
  • table to hold the prizes and winners for each day
  • only allow one vote per day
  • automatic vote cutoff on X time
  • automatic selection of the winner

Would be nice

  • pretty GUI
  • list of previous draws/prizes/winners
@benjamingr
Copy link

What's wrong with what you had last year?

@rlemon
Copy link
Author

rlemon commented Dec 10, 2014

was all done by hand and was a pain in the ass for me.

@benjamingr
Copy link

Ah.

@Shmiddty
Copy link

Two questions to start:

  1. What infrastructure are you planning on using?
  2. Have you created a repository yet?

@rlemon
Copy link
Author

rlemon commented Dec 10, 2014

node/express/passport/postgres

and no, I have no repo up yet. but I will tonight once I start working on it. Mostly I think I'll need help with passport and code cleanup

@SomeKittens
Copy link

@rlemon
Copy link
Author

rlemon commented Dec 10, 2014

Like I mentioned in the chats, I would prefer this repo to be on my account and not on the organization account. If you guys want to make your own feel free, however for the 'rlemons 12 days' code I would like to have it organized to my name. Sorry.

@PeeHaa
Copy link

PeeHaa commented Dec 11, 2014

I can fix you up with a nice PHP platform :P

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment