juanmanso / expoTriviaApp

React Native Trivia App using Expo and React Navigation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Trivia App

Trivia App Logo

πŸ‘‹ Introduction

Trivia application that provides 10 questions to be answered by the user. The basic workflow is:

                 ─────
                v     |
Home Screen -> Questions -> Results page
    ^                           β”‚
    β”‚    PLAY AGAIN Button      β”‚
    └────────────────────────────

πŸƒ How to run the app

  1. Run yarn install

This will install both runtime project dependencies and developer tools listed in package.json

  1. [Optional] Run yarn start

Starts the Expo bundler server that opens a web page for development (both virtual and physical devices). You can select there which device to use.

  1. Run yarn ios and/or yarn android

It builds the app iOS and Android respectively. If no physical devices are bound, emulators or simulators are opened to do so. Also, if the development server was not already running, it starts it on a new terminal window.


πŸ”¬ Requirements

To start your local environment, you need to follow this steps. TL;DR: follow the official React Native doc

🍏 MacOS development

With HomeBrew, install Node.js, Watchman and Java 8 JDK.

brew install node
brew install watchman
brew install --cask adoptopenjdk/openjdk/adoptopenjdk8

For iOS development, install XCode and its command line tools. Additionally, install Cocoapods:

sudo gem install cocoapods

Lastly, for Android you need Android Studio and its SDK. For detailed instructions, check the official documentation

πŸ€– Windows development

Install Node.js and Java 8 JDK with Chocolately:

choco install -y nodejs.install openjdk8

Then, install Android Studio and its SDK. For detailed instructions, check the official documentation.


πŸ‘ Contributing

Please refer to our contributing guidelines to maintain an organized pattern regarding contributions.

About

React Native Trivia App using Expo and React Navigation

License:GNU General Public License v3.0


Languages

Language:TypeScript 72.7%Language:JavaScript 22.9%Language:Shell 4.4%