deanriverson / flashcard_amigo

A companion app for learning spanish
0 stars 0 forks source link

Create word database #4

Open deanriverson opened 2 years ago

deanriverson commented 2 years ago

Notes

The word database will contain all of the vocabulary words that the app knows about. Initially I'll just read these in from a JSON file loaded from the app assets.

Eventually, it would be better to store the word database in an actually database. Eventually I wanted to write this app as an Amplify app (I still probably will) and store the word database in AWS. But I'd really like this app to be able to work fully offline so SQLite or Couchbase Lite might be a good solution.

Maybe even a combination so that the database could be updated without recompiling and redeploying the app, but still work completely off line. I could use a version table in the server db and have the app check for new versions on startup. If the app is offline, just work with the old database until the next time it's able to connect.

Word Model

Each word will have the following fields:

References

deanriverson commented 2 years ago

Some possible categories: