Decision Maker is a full stack web application that was built for our midterm project at Lighthouse Labs in a collaborative environment. It allows a user to create a questionnaire that helps groups of friends to vote on a preferred choice (using Borda Count method). For example: "What is your favourite vegetable?".
This project was designed by Cindy Chen, Spencer Bethel and Kevin Ly.
- Front-end was built using Javascript, Bootstrap, jQuery, SASS and HTML.
- Back-end was built using Node.js, PostgreSQL, Express and EJS.
- Nodemailer API was our choice for easy email sending.
- Create the
.env
by using.env.example
as a reference:cp .env.example .env
- Update the .env file with your correct local information
- username:
labber
- password:
labber
- database:
midterm
- NM_USER: Your email address
- NM_PASS: Your email password
- Install dependencies:
npm i
- Fix to binaries for sass:
npm rebuild node-sass
- Reset database:
npm run db:reset
- Check the db folder to see what gets created and seeded in the SDB
- Run the server:
npm run local
- Note: nodemon is used, so you should not have to restart your server
- Visit
http://localhost:8080/
- Node 10.x or above
- NPM 5.x or above
- PG 6.x
- Express
- Morgan
- Chalk
- dotenv
- EJS
- NodeMailer
- SASS
- Sortablejs
- Nodemon