Mobile Flashcards
GitHub repository: https://github.com/wbchristerson/MobileFlashcards
This project is a flashcard application for Android mobile devices in which users may create collections of flashcards and quiz themselves on the decks that they compile. I created the application using react-native
along with redux
. (This project was bootstrapped with Create React Native App.)
Structure
- The main section includes a tab navigator for flashcard decks that have already been created as well as a tab for creating new decks.
- Clicking on a deck tile takes the user to the individual page for the topic, where additional cards for the deck can be created and added.
- From the individual deck page, users may also take quizzes in which they mark their responses based on the answers shown. Afterwards, a score is given.
Design
As said above, the application begins with a tab navigator composed of two screens. The first is a list view of all currently available flashcard decks. As a starting point, two decks are already provided: "Spanish" (9 cards) and "Architecture" (2 cards) . You may quiz yourself with these or add new decks.
The second screen in the tab navigator is a form to add an additional deck ("new deck"). Submitting the form will take the user to the new page for that deck.
To maintain data for this application, I used the
To download, you can clone the repository using this terminal command:
Alternatively, follow the instructions below to download to a hard drive:
For complete details about running react-native applications such as this one on mobile devices, see here.
AsyncStorage
key-value storage system heavily.
Running The Application
To download, you can clone the repository using this terminal command:
git clone https://github.com/wbchristerson/MobileFlashcards.git
Alternatively, follow the instructions below to download to a hard drive:
- Navigate to this page.
- Click the green "Clone or download" button towards the right then choose "Download ZIP".
- Find the folder
MobileFlashcards-master
in your Downloads folder or wherever it was placed on your device. - Right click and choose "Extract All" then extract.
-
To install all dependencies from the command line, run the following command in the terminal within the project folder:
npm install
-
In another terminal window, run the following command to start the project:
npm start
For complete details about running react-native applications such as this one on mobile devices, see here.