Skip to content

Polling app using integrating mailgun and postgres database

Notifications You must be signed in to change notification settings

llcoolj84/decisionmaker

Repository files navigation

Poll Master App

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.

Project Setup

Poll Master is a simple, single-page AJAX based polling app that uses jQuery, HTML5 and CSS3. Data is stored using postreSQL

screen shot 2017-10-02 at 2 10 45 pm

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.

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
  3. Install dependencies: npm i
  4. Fix to binaries for sass: npm rebuild node-sass
  5. Run migrations: npm run knex migrate:latest
  • Check the migrations folder to see what gets created in the DB
  1. Run the seed: npm run knex seed:run
  • Check the seeds file to see what gets seeded in the DB
  1. Run the server: npm run local
  2. Visit http://localhost:8080/

Dependencies

"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

screen shot 2017-10-02 at 2 11 38 pm

screen shot 2017-10-02 at 2 13 17 pm

screen shot 2017-10-02 at 2 13 32 pm

screen shot 2017-10-02 at 2 13 46 pm

screen shot 2017-10-02 at 2 14 12 pm

screen shot 2017-10-02 at 2 14 35 pm

About

Polling app using integrating mailgun and postgres database

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published