Giter VIP home page Giter VIP logo

quizapp's Introduction

QuizApp

An application that fetch data (Questions and answers) from Firebase and display them to the user allowing him to play Trivia.

Project Components

  1. FireBase - RealTime Database that stores the questions in JSON Format.
  2. QuestionGenerator - .NET application which reads a specific format written by the user and generates a JSON format suitable for importing to Firebase.
  3. QuizApp-WebApp - Web Application written with HTML + JavaScript that displays the questions from Firebase allowing the user to play.
  4. QuizApp-Android - Android Application written in Java that displays the questions from Firebase allowing the user to play.

FireBase Setup

In order to make everything to work, you will need to setup your own database in firebase:

  1. Go to Firebase Console.
  2. Create new project.
  3. Navigate to Develop -> Database.
  4. Create Real Time Database. (not cloud firestore).
  5. While you're at Develop->Database page, make sure you're pointing to "RealTime Database".
  6. Click on "Rules" tab and edit the read property to be true. This is mandatory step because questions will not be loaded if this set to false.
  7. Click the Data tab. To import JSON format which contains your questions, click on the 3 dots menu at the right side and choose "import JSON".
  8. The default root name that contains all the questions is rootName. If you decide to change it, it must be the same in all the components: Andrid app, WebApp, JSON root name.

This Project is inspired by https://github.com/jrue/JavaScript-Quiz by Jeremy Rue. The QuizApp-WebApp is based on Jeremy's project.

Example

Example for usage, can be found in the following links. The example is for Human Computer Interface course.

  1. Web App: https://github.com/Romansko/HCI
  2. Andorid App: https://play.google.com/store/apps/details?id=com.rkcodesolution.hci

quizapp's People

Contributors

romansko avatar

Stargazers

 avatar  avatar Ichsan Ashiddiqi avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.