Inspiration

This project was mainly built in order to gain practical experience in using Test Driven Development and in order to gain more experience using the popular web framework: Ruby on Rails.

What it does

This is a quiz taking application very similar to the popular quizzing application Kahoot! Most notable features include ability to add any quiz with or without supporting images, authentication system, ability to save high score and ability to share quiz results on social platforms such as Twitter.

How I built it

It is built using Ruby on Rails and developed following the Test Driven Development technique.

Challenges I ran into

There were many challenges when developing this application, the most notable being having difficulty trying to store image files as blob types in the SQLite3 database that Ruby on Rails provides. As this was not feasible at the time, I used an AWS S3 storage bucket to store and access the uploaded image files, thereby overcoming this blocker.

Accomplishments that I'm proud of

Achieving over 97% test coverage through the use of Test Driven Development in the making of this application and resolving errors faced through the process of deployment to Heroku PaaS platform.

What I learned

Unit tests are more informative that end-to-end tests when it comes to diagnosing bugs, and therefore should outnumber the amount end-to-end tests by a large amount.

What's next for Quiz Game

Adding more unit tests, removing flaky and brittle end-to-end tests, updating documentation and addition of a CI/CD pipeline.

Share this project:

Updates