So far I have been working on the basic functions before actually working on the AI flashcard generator function.
I started by creating routes and functions for my different webpages (home, library, view). After this, I created a base html file that I could extend into the rest of my html files which essentially lets me have a uniform interface to work on.
Finally, I created my template files which are basically dynamic html files that display different data based on the id being passed into the URL. In this case, I have my data in a file called data.py where id represents the key in my dictionaries. If you click on a flashcard set, its id is passed into the URL and the template file renders based on that information.
I also did a bunch of css stuff where I used AI to help me figure out how I could create the flipping animation for my cards. Other than that, I created blueprints for buttons.
My plan for my next coding session is to start working on the AI flashcard generator function which will involve importing libraries and creating a framework to read google doc files and store them in a string. In addition to this, I probably will have to figure out how to use API keys and prompt engineering to get the best results.