Skip to content

Mobile application for taking a quiz of 10 True/False questions against OpenTrivia DB (https://opentdb.com)

Notifications You must be signed in to change notification settings

dhruvparmar372/trivia-app

Repository files navigation

Trivia App

Mobile application for taking a quiz of 10 True/False questions against OpenTrivia DB (https://opentdb.com). It's built using ReactNative and has both iOS and Android versions. The Android version can be downloaded from distribution/app-release.apk path in the repository.

All quizzes that the user takes are stored locally on the device and user can view scores of previous quizzes under High Scores section.

Tech Stack

  1. React Native
  2. Redux - for state management
  3. Redux Sagas - for managing async actions and effects
  4. I18n - translations
  5. Axios - as http client
  6. React Navigation
  7. Redux Persist - for adding offline capabilities
  8. Jest - for snapshot testing of reducers, actions, utility methods and leaf components.

Setup

  1. git clone
  2. npm install or yarn (preferably yarn)
  3. react-native link, you might have to kill the link process if it gets stuck after rnpm-install info Assets have been successfully linked to your project
  4. react-native run-ios or react-native run-android.

App Screns

Intro

Intro Screen

Quiz

Quiz Screen

Quiz Result

Quiz Result Screen

HighScores

High Scores Screen

About

Mobile application for taking a quiz of 10 True/False questions against OpenTrivia DB (https://opentdb.com)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published