Live-Poll icon indicating copy to clipboard operation
Live-Poll copied to clipboard

Added simple sqlite3 interface.

Open crunchypi opened this issue 5 years ago • 4 comments

Created a branch with simple sqlite3 interface for consideration, mainly addressing this issue: https://github.com/CodingTrain/Live-Poll/issues/5.

Main features are (demonstrated in example file):

  • create new poll table
  • create poll with options
  • increment poll option
  • get all poll options
  • get specific poll option

Note: sqlite3 has to be added with npm

crunchypi avatar Oct 08 '20 12:10 crunchypi

I'm interested in trying this! I'll get a little further with functionality and design and we can consider swapping out the back-end on a future stream if you want to keep this in sync with main!

shiffman avatar Oct 10 '20 16:10 shiffman

Sure, it's fairly stand-alone as it is so it's not a problem!

crunchypi avatar Oct 11 '20 09:10 crunchypi

@all-contributors please add @crunchypi for code and ideas

shiffman avatar Nov 22 '20 17:11 shiffman

@shiffman

I've put up a pull request to add @crunchypi! :tada:

allcontributors[bot] avatar Nov 22 '20 17:11 allcontributors[bot]