Skip to content

SanjayaE/Choosey-Boy

 
 

Repository files navigation

Choosey Boy

About

Choosey boy allowed users to submit polls with up to 10 options (each of which can have an optional description). The poll-creator is given links to send to people, and view the results of their polls.

Users can then vote on their preferences by clicking up and down arrows, and are redirected to a results page which dynamically displays a pie chart with their results courtesy of charts.js

Getting Started

  • Clone the github repo into a new directory
  • From the new directory in your terminal, run npm -i
  • From the new directory in your terminal, run npm start
  • Visit http://localhost:8080/ to start choosing!

Dependencies

  • Node 5.10.x or above
  • NPM 3.8.x or above
  • Knex
  • Express
  • EJS
  • Body-parser
  • Bootstrap
  • Sass
  • @sendgrid/mail
  • cookie-session
  • Jquery
  • Postgres

Set up .env

  • Rename .env.example file to .env

Setting up SendGrid

  • Create an SendGrid account and get Free API key at http://sendgrid.com/pricing.html

  • Type following command into terminal with your API key in the single quotes

    echo "SENDGRID_API_KEY='YOUR API KEY'" >> .env
    
    

Screenshots

About

Lighthouse Labs mid term group project. Choosey boy allowed users to submit polls with up to 10 options (each of which can have an optional description). The poll-creator is given links to send to people, and view the results of their polls.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • JavaScript 49.4%
  • HTML 33.0%
  • CSS 17.6%