DiegoSalazar / team-trivia

Real-time collaborative Trivia playing app.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Team Trivia App

Demo: https://team-trivia.herokuapp.com/

A collaborative and accessible, real-time trivia game playing app. Inspired by Quarantrivia.

team-trivia homepage

Based on Rails and:

Features

  • Players can create Trivia to start and end at a specified date and time
  • Players can join Teams or play by themselves
  • Only the creator can edit their Trivia and see all Questions
  • Every Player can submit questions to an upcoming Trivia
  • Players are redirected to the Play page when a Trivia starts
  • Players in Teams will see a chat room with their Teammates in the Play page
  • Players can submit Guesses to Questions
  • Guesses appear in the Team chat room
  • Players can vote on Guesses
  • Guesses with the highest votes will be counted at the end
  • Players will be redirected to a Live Reveal page when a Trivia ends
  • The creator of the Trivia can Reveal questions and Answers one by one
  • Winners are revealed after all Questions/Answers are revealed

Local Setup

Required: postgres, redis

# Set local user creds
export TEAM_TRIVIA_USER_EM='test@mail.com'
export TEAM_TRIVIA_USER_PW='password123'

bundle && npm i
rake db:setup
rails server

Run rake -T | grep triv for trivia seed data creation tasks.

About

Real-time collaborative Trivia playing app.


Languages

Language:Ruby 68.4%Language:Slim 14.2%Language:JavaScript 10.2%Language:HTML 4.2%Language:SCSS 1.7%Language:TypeScript 1.1%