Skip to content

powli/Ranked-Vote

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

96 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ranked-Vote

A ranked voting system with github authentication.

Local testing

Install the dependencies:

npm install

Run the server:

# The github client id and secret can be found on the integration page
GITHUB_CLIENT_ID=... GITHUB_CLIENT_SECRET=... npm start

Additional options that can be set via enviroment variables:

PORT        -  the port node listens on (defaults to 3000)
NODE_ENV    -  the enviroment node runs on (development, production and test) 
               and defaults to development

ESLint

An ESLint config file have been added for those that want to use it. It is based on Felix Geisendörfer'sNode.js Style Guide with tweaks to the rules on indentation(4 Spaces instead of 2) and the allowed length of lines (100 instead of 80).

Currently ESLint is not part of the project. To use it please install it globaly (or without saving it in the package.json file).

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 61.7%
  • HTML 37.4%
  • CSS 0.9%