garfieldnate / flashcards

simple mobile flashcard app with React Native

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Flashcard App

Running the Server

cd server
pip3 install -R requirements.txt
python3 app.py <path to database>

The server will run at localhost:5000.

Running the client

You need to generate some of the assets first. This requires the server to be running.

cd client/scripts
pip3 install -R requirements.txt
python3 client/scripts/init_cards.py http://localhost:5000

After that you should install dependencies and run the app with expo:

cd client
yarn
expo start

Other Stuff

  • yarn test: run unit tests
  • yarn prettier: format all of the tyescript files
  • yarn tsc: typecheck all of the typescript files
  • fix-jest-expo: you may need to run this if the tests don't work for a mysterious reason

About

simple mobile flashcard app with React Native

License:GNU General Public License v3.0


Languages

Language:TypeScript 77.7%Language:Python 21.0%Language:JavaScript 1.4%