We've built an application that allows a user to create a poll and send it to their friends to help make decisions. This project allowed us to practice our Front-end and Back-end Programming skills. Some of the technologies we used include Express, Node, Postgresql database, SASS, and a Mailgun API. We also got experience working as a development team through our git workflow. The results of each poll are sorted using the Borda Count method.
Home page with form toggle
Create a poll
Link page for poll creator
Answering a poll
Result page
- Create the
.env
by using.env.example
as a reference:cp .env.example .env
- Update the .env file with your correct local information. You will also have to sign up for a Mailgun account to get the API key and domain for the email API. Put those in the .env file.
- 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
- Visit
http://localhost:8080/
- Node 10.x or above
- NPM 5.x or above
- PG 6.x
- Chalk
- Dotenv
- EJS
- Express
- Mailgun-js
- Morgan
- Sass
- Ryan Schelhaas @VagrantGinger68
- Waleed Ahmed @ahmedwaleed03
- Rita Tang @ritatanght