Created the backend for a basic flashcard application which has two types of flashcards:
-
Basic flashcards, which have a front ("Who was the first president of the United States?"), and a back ("George Washington").
-
Cloze-Deleted flashcards, which present partial text ("... was the first president of the United States."), and the full text when the user requests it ("George Washington was the first president of the United States.")
User will be able to select a type of flashcard with a CLI prompt and then input questions/answers on prompt. The app will then push input into a document in JSON format. User can review all flashcards within the file.
node js