Giter VIP home page Giter VIP logo

decision-makr's Introduction

LHL Midterm Project: Decision Makr

Getting Started

  1. Create the .env by using .env.example as a reference: cp .env.example .env
  2. Update the .env file with your correct local information
  • username: labber
  • password: labber
  • database: midterm
  1. Install dependencies: npm i
  2. Fix to binaries for sass: npm rebuild node-sass
  3. Reset database: npm run db:reset
  • Check the db folder to see what gets created and seeded in the SDB
  1. Run the server: npm run local
  • Note: nodemon is used, so you should not have to restart your server
  1. Visit http://localhost:8080/

Planning and Final Product

  • User stories and project planning
  • Wireframe
  • Please see the screen shot of product below: "Home Page" Home Page. Product information is provided, and users can be directed to create a poll and learn more about Borda count through the link. "New Poll" Create a New Poll. After filling out the information for creating the poll, it will direct the user to the admin page. Upon creation of the poll, admin and voter links will be sent to the email provided by the user. "Vote on a Poll" Vote on a Poll! Use can choose the desired rank for each choice and submit their vote. Email notification of getting a new vote will be sent to the admin of the poll. "Vote on a Poll" Admin Page (can view/refresh results and close the poll). The ranking of each choice is calculated based on the score.

Dependencies

  • Node 10.x or above
  • NPM 5.x or above
  • PG 6.x
  • Express
  • EJS
  • morgan
  • mailgun.js
  • sass
  • chalk
  • nodemailer

decision-makr's People

Contributors

miaju avatar eerkmen avatar pauline-shen avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.