qarth / straw-poll

Straw Poll is a basic, real-time polling app, for thumbing up or down.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Straw Poll

Build Status Coverage Status

Straw Poll is a basic, real-time polling app, for thumbing up or down.

Getting Started

  1. Fork/Clone
  2. Install dependencies - npm install
  3. Rename the .env_sample file to .env and update
  4. Create two local Postgres databases - Straw_poll and Straw_poll_test
  5. Migrate - knex migrate:latest --env development
  6. Seed - knex seed:run --env development
  7. Run the development server - gulp

Test

Without code coverage:

$ npm test

With code coverage:

$ npm run coverage

Todo

  1. Test socket.io
  2. e2e tests

Images


About

Straw Poll is a basic, real-time polling app, for thumbing up or down.

License:MIT License


Languages

Language:JavaScript 83.2%Language:HTML 16.4%Language:CSS 0.4%