Create and host online quizzes. Check it live here.
PubQuiz is a web application developed using Ruby on Rails and React. It was a playground project to learn more about ActiveCable and websockets in Rails/React and have fun with my family and friends.
- Create a new quiz
- Add questions
- Share link with participants
- Wait participants to join
- Send questions
- Assign points and save round
- Ruby 2.6.0
- Bundler (
gem install bundler
) - libpq-dev (
sudo apt install libpq-dev
) - Node >= 8.16.0 (
sudo apt install nodejs
) - Yarn (
sudo apt-get install yarn
) - PostgreSQL
- Clone the repository
- Install the dependencies
$ bundle install
$ yarn install
- Create the database with a superuser role (required for pgcrypto extension) and run the migrations
$ rails db:create
$ rails db:migrate
- Run the server
$ rails s
Open it in http://localhost:3000
Oops... Sorry about that!