Skip to content

iamkapilgarg/indecisive.ninja

 
 

Repository files navigation

imageIndecisive Ninja

Indecisive Ninja is a Full-Stack, RESTful Poll Creation Application.

Created by Kapil, Sunny and Devin

Check it out here - indecisive.ninja

Hosted on Heroku


This project was built on NodeJS Express, using EJS Templating engine, SCSS & CSS

  • Utilizing API's from Chart JS, Pusher, SendGrid and IP Trace

Features

  • Create New Polls

  • Seamless real time result updates and voter log, no refreshing required

  • Emailed admin link displaying voter breakdown.

  • Borda Count choice ranking method

  • Optional IP address based voter fraud detection.

View Demo Below

Create New Polls - Home Page

Vote on polls

View your results


Local Installation

  1. Fork and Clone or download this repository
git clone git@github.com:snguyenbui/midterm-decision-maker.git
  1. Navigate to project directory and install NPM dependancies
cd indecisive.ninja
npm install
  1. Set up a local PostgreSQL Database and add credentials to a .env, following the framework of example.env
    • Sign up for a free Pusher API key
    • Sign up for a free sendGrid API key
npm run db:reset
  1. Launch the local server and navigate to localhost:8080
npm run local

Dependencies

  • Node 10.x or above
  • NPM 5.x or above
  • PG 6.x
  • dotenv
  • @sendgrid/mail
  • pusher
  • chart.js

Icons from Artists:

  • mynamepong
  • Icongeek26
  • Freepik @flaticon.com

Packages

No packages published

Languages

  • JavaScript 39.5%
  • SCSS 27.6%
  • EJS 25.9%
  • CSS 6.4%
  • Shell 0.6%