priyanshuKr1 / firebase-android-quiz-app

An android quiz app for taking and creating mcq's based quizzes using firebase.
105 stars 55 forks source link
android android-app firebase firebase-database google-firebase java quiz quiz-app quiz-maker quiz-taker quizapp quizzes

Quizzer

Project Image

An android quiz app for conducting quizzes and easy management of results for universitiy/college students.

Overview

An app to take tests and evaluate students by admins. Quizzer uses Google's firebase for managing the tests, results and authentication. Quizzer lets you see the leaderboard after successful completion of tests. Admin has access to all the results and other features automatically. Quizzer uses firebase-storage feature to save user profile images. Upload quizzes being created by admin in JSON stracture.

Features

Screenshots

Screenshots of ui and setting-up of firebase link

How To Use

Set-up firebase project

Create firebase project here. Paste the google-services.json to app folder. For help Refer to firebase-docs

Enable authentication

Refer here for firebase-docs.

Create firebase realtime-database

Realtime-database consists of 5 childs, all childs except admins and tests are created manually in root of realtime-database, as shown below.

database-image

Creating tests or uploading tests

To upload tests, goto specifed link as specified below enter test name and import JSON feature to upload json file. Also, it can be edited with text-editor with your choice of questions & answers.

database-test-image

Adding admins

Craete a child admins in root of realtime-database and copy the USER-UID from authentication tab, put NAME = USER-UID and VALUE = true see below for refrence.

admins-database

Database rules

To manage users marks, for not re-update of marks after giving tests, database rules paste the contents to database-rules section.

rules

Click this link to view prototype