Giter Site home page Giter Site logo

flashcards's Introduction

Introduction

A flashcard or flash card is a card bearing information on both sides, which is intended to be used as an aid in memorization. Each flashcard bears a question on one side and an answer on the other. This app attemps to simulate this game to help its users study or memorize.

Installation and Development

Install dependencies by running: npm install Then cd ios and pod install cd.. and start the server by running npx react-native start

For IOS yarn ios For Android yarn android

Platforms

This App has been tested on an IOS and android simulator

What you can do on the App

  • A user can see all the saved decks on the homescreen
  • They can access the deck
  • Test themselves using the information in the cards
  • check the answers and grade themselves
  • A user can create a deck to hold cards(Questions)
  • They can create Questions to add to existing decks.

AsyncStorage

AsyncStorage acts as the backend database storing all the data that will be needed by the user on the back end.

Methods

it contains 5 api calls:

  • [getDecks()] (#getDecks())
  • [deleteDeck(id)] (#deleteDeck(id))
  • [getDeck(id)] (#getDeck(id))
  • [saveDeckTitle(title)] (#saveDeckTitle(title))
  • [clearDatabase()] (#clearDatabase())

getDecks()

Method Signature:

getDecks()
  • Returns an object containing all the decks in the database.

getDeck(id)

Method Signature:

getDeck(id)
  • Returns an object containing the deck that matches that 'id'

deleteDeck(id)

Method Signature:

deleteDeck(id)
  • Removes the deck with matching the id

saveDeckTitle(title)

Method Signature:

saveDeckTitle(title)
  • Creates a new deck and gives it a title.

clearDatabase()

Method Signature:

clearDatabase()
  • Deletes all the decks from the database.

Create React Native App

This project was bootstrapped with Create React App. You can find more information on how to perform common tasks here.

flashcards's People

Contributors

toby-adedipe avatar

Watchers

James Cloos avatar  avatar  avatar

Forkers

xxd4rkc0d3rxx

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.