Project created to allow an user to create a poll with a single question and multiple choices to send to friends. Uses Mailgun API to send emails. Users must login/register to create polls, but only need the poll link to take polls. Users also must include emails to vote and each email can only vote once.
- 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 table schema to get all tables in the database
- 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