GitXplorerGitXplorer
b

guest-speaker-app

public
0 stars
0 forks
0 issues

Commits

List of commits on branch master.
Unverified
438ccbf71b3a4c58de3c81939900884c02734fb8

didn't get em all last time

bbenhassara committed 9 years ago
Unverified
cb60678ce802cfc101736fe67e648a4a5dae8b68

fix dumb thing

bbenhassara committed 9 years ago
Unverified
907989c8770fcd62883bc9efa55bc4b7e8306368

merge from upstream

bbenhassara committed 9 years ago
Unverified
9c6b54e202cf8d636d9352a650ce4779c4179b43

updated readme

mmjhea0 committed 9 years ago
Unverified
7c642fae546d0e165f2adc49928294144abd8fb9

updated readme

mmjhea0 committed 9 years ago
Unverified
3b098f9c31b4b6d868c0e0c5748816cc61d6bd5a

added production config

mmjhea0 committed 9 years ago

README

The README file for this repository.

Guest Speaker App

Build Status Coverage Status

An app to allow students to rate and provide feedback on a guest speaker.

Schedule

  1. Part 1
  • App overview
  • Setup (Generator, Github, Travis CI, Heroku)
  • Add Unit Tests
  1. Part 2
  • User Stories
  • Code Coverage - istanbul, coveralls
  1. Part 3
  • Data Modeling
    • user schema
  • Sequelize / Migrations
    • migrate up / migrate down
  1. Part 4
  • Data Modeling
    • speaker schema
  • Database
    • local
    • travis
    • heroku
  1. Part 5
  • Authentication
    • passport-github?
    • roll our own?
  • Testing
  • Mocks

User Stories

  1. A user can-
  • view past speakers
  • view upcoming speakers
  • add feedback on on past speakers
  • vote on potential upcoming topics
  • login/logout via Github
  • suggest speakers
  • suggest topics
  1. A admin can-
  • approve/reject users wanting to login
  • CRUD students
  • CRUD speakers
  • CRUD topics
  • login/logout via Github
  • toggle suggestion features

Stack

  • Issue Tracker: Github Issues
  • Build System: Gulp
  • Testing: Mocha, Chai, Travis CI, Istanbul (coverage)
  • Language Runtime: ES5
  • Package Mgmt: npm
  • Server: Node, Express
  • Database: Postgres
  • Front End: jQuery
  • CSS Framework: Skeleton
  • Templates: Swig

Tests

Without code coverage:

$ npm test

With code coverage:

$ npm run cov

Postgres Heroku Setup

  1. Create database on Heroku: heroku addons:create heroku-postgresql:hobby-dev
  2. Update production config in /src/server/config.json
  3. Commit, PUSH, etc.
  4. Run Migrations on Heroku:
$ heroku run bash
$ node_modules/.bin/sequelize db:migrate