PolePlace is a full-stack app which functions as a decision-maker where you can poll selected indiviuals and privately view the results. It was implemented through JavaScript, CSS, AJAX, jQuery, HTML, SQL, Node, and Express.
Options can be added dynamically, with a maximum of 10 total.
Votes are calculated through the Borda Count method, where points are assigned based on draggable rankings.
Results page, visible only to the creator of the poll, who is emailed the link. Somehow, wine lost.
- Create the .env by using .env.example as a reference: cp .env.example .env
- Update the .env file with your correct local information
- Install dependencies: npm i
- Fix to binaries for sass: npm rebuild node-sass
- Run migrations: npm run knex migrate:latest
- Check the migrations folder to see what gets created in the DB
- Run the seed: npm run knex seed:run
- Check the seeds file to see what gets seeded in the DB
- Run the server: npm run local
- Visit http://localhost:8080/
- Node 5.10.x or above
- NPM 3.8.x or above
- body-parser
- dotenv
- EJS
- Express
- Knex
- knex-logger
- Mailgun-js
- morgan
- node-sass-middleware
- pg (node-postgres)