Skip to content

The mobile application was developed using React Native, Redux, React Navigation, React Native' styles, Flexbox layout, and Expo

Notifications You must be signed in to change notification settings

cynthia3r/react-native-mobile-flashcards

Repository files navigation

Mobile Flashcards React Native App

Project Overview

Mobile Flashcards is a React Native app developed for both Android and iOS platform that let users to study collections of flashcards. The app allow users to create different categories of flashcards called "decks", add flashcards to those decks, then take quizzes on those decks.

Application Functionality

  • the app allow users to create a deck which can hold an unlimited number of cards
  • the app allow users to add a card to a specific deck
  • the front of the card should display the question
  • the back of the card should display the answer
  • users should be able to quiz themselves on a specific deck and receive a score once they're done
  • users should receive a notification to remind themselves to study if they haven't already for that day

Create React Native App (CRNA)

This project was bootstrapped with Create React Native App

Project dependencies

Project dependencies can be referenced from package.json

Installation and usage

In the project directory, you can run the below scripts:

  • install all project dependencies either with yarn install or npm install
  • start the app either with npm start or yarn start Note this will open Expo developer tools in the browser.

Launching the app:

There are different approaches to launch the app as described below:

Additional information on how to build package file

  • Install Expo CLI
  • run exp build:android to build the .apk (Android Application Package) file
  • run exp build:ios to build the .ipa (iOS App Store Package) file
  • to check build status run exp build:status

Technologies used

  • react-native
  • redux
  • react-navigation
  • expo

Platforms tested

The developed code have been tested using Expo Go App on Android Version 11

Application views

  • Deck List View (Default View)
    • displays the title of each Deck
    • displays the number of cards in each deck
  • New Deck View
    • An option to enter in the title for the new deck
    • An option to submit the new deck title
  • Deck View
    • displays the title of the Deck
    • displays the number of cards in the deck
    • displays an option to start a quiz on this specific deck
    • An option to add a new question to the deck
  • New Question View
    • An option to enter in the question
    • An option to enter in the answer
    • An option to submit the new question
  • Quiz View
    • displays a card question
    • an option to view the answer (flips the card)
    • a "Correct" button
    • an "Incorrect" button
    • the number of cards left in the quiz
    • displays the percentage correct once the quiz is complete

Backend server

The App leverages the api.js which serves as a backend server and provides the following helper methods to manage AsyncStorage database:

  • getDecks: return all of the decks along with their titles, questions, and answers.
  • getDeck: take in a single id argument and return the deck associated with that id.
  • saveDeckTitle: take in a single title argument and add it to the decks.
  • addCardToDeck: take in two arguments, title and card, and will add the card to the list of questions for the deck with the associated title.

Application screen

Author

Sayantani Chaudhuri

About

The mobile application was developed using React Native, Redux, React Navigation, React Native' styles, Flexbox layout, and Expo

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published