Go to this link to see a working demo : https://shrouded-sands-25776.herokuapp.com/login
use bbb@bbb as a test database email. It will not work with your email.
Poll Master is a simple, single-page AJAX based polling app that uses jQuery, HTML5 and CSS3. Data is stored using postreSQL
Getting Started
Clone this repository. Install dependencies using the npm install command. Start the web server using the npm run local command. The app will be served at http://localhost:8080/. Go to http://localhost:8080/ in your browser.
You will have to set up postgresQL and migrate & seed using knex.
- 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/
"body-parser": "^1.15.2",
"clipboard": "^1.7.1",
"cookie-session": "^1.3.2",
"dotenv": "^2.0.0",
"ejs": "^2.4.1",
"express": "^4.13.4",
"knex": "^0.11.7",
"knex-logger": "^0.1.0",
"mailgun-js": "latest",
"morgan": "^1.7.0",
"node-sass-middleware": "^0.9.8",
"pg": "^6.0.2"
"devDependencies": "nodemon": "^1.12.1", "sqlite3": "^3.1.4"
## More Screen Shots