Straw Poll is a basic, real-time polling app, for thumbing up or down.
- Fork/Clone
- Install dependencies - npm install
- Rename the .env_sample file to .env and update
- Create two local Postgres databases -
Straw_poll
andStraw_poll_test
- Migrate -
knex migrate:latest --env development
- Seed -
knex seed:run --env development
- Run the development server -
gulp
Without code coverage:
$ npm test
With code coverage:
$ npm run coverage
- Test socket.io
- e2e tests