An intelligent vocabulary building app.
- To Populate DB
- For Debugging
- For UI help
- To Deploy on heroku
An intelligent vocabulary building app.
Second Ship! (Last Ship)
First ship had a pretty bad UI, this one is not the best but it works, and a major feature was missing, the quiz feature, I added that too, and because it was second ship, thought why not optimize some stuff from previous ship to get that juicy RAM.
Read -> Hover to see Details -> Click to mark is weak work -> Attempt Quiz
/paragraph/<:id> and /word/<:word> are called often with same arguments, so HTTP caching made a significant difference here.axios, it was not really unnecessary, but gotta do optimization for the sidequest, so made my own simple api objects with .get and .post methods.Log in to leave a comment
foreign key, now its a many-to-many relation cuz that makes so much more sense, also added some fields to different models, like state for quiz. Set up a randomized Quiz generator, it does prioritize the words user marked as weak, but still in a random order. Used approach to make frontend request for each mcq separately and protected correct option from client.Ai was used in this commit
Log in to leave a comment
paragraph/read/
.split() method of strings was being used to separate words, this caused some unnecessary elements. So instead used a custom method to split words. Also added logic for newline characters and symbols in frontend.Lexeme as Foreign key, this will allow us to track weak words down for a user and prioritize these words’ mcqs in quiz. Also used the utility ai script to generate MCQs for words, and used co-pilot to seed them in DB.AI was used in this commit
Log in to leave a comment
/paragraph and /paragraph/read/. It should have been like this from start but it was my mistake, as things started getting complicated the code started to get messy, I think this new version with two files and two routes is much better.Log in to leave a comment
word model, so for two words having same meaning, two rows were being created, it was a bit messy, so I split it into two models Lexeme and WordSense, Lexeme right now has just one field thats word, and WordSense contains all the details about a sense, so many WordSense can have one Lexeme foreign key, This might be helpful in future when instead of strictly spelled same words getting same Lexeme we can add different forms of words get the same Lexeme, so one lookup to run can fetch all the related words like running and ran.AI was used to do some tasks in this log
Log in to leave a comment
Previous ship got rejected because it used demo credentials to login, so setup signup system.
There is no verification such as email OTP or link right now, but i think it works for now.
Before requesting a recertification, i will improve some other bits of Ui first.
if anyone is actually reading this logs, you will know i tried to hurry and ship early due to the lock in sidequest, update on that is, even tho my ship got rejected, i got an extra day to fix the issues and reship.
Log in to leave a comment
I started building an app that will help users build their english vocabulary, this is just the first very basic version of it, I am planning on keeping track of users knowledge to create personalized MCQs quizzes later. This ship was done in a little hurry because of lock in side quest, i couldnt find time to code for the whole weak, but i will give a lot more time to this project in future.
This looks so incomplete, but i need to ship for the lock in side quest, i hope it doesnt get rejected, i am short on time. anyways, lets see what happens.
Log in to leave a comment
This log is more of a rant than update, i wasted so much time on this, so i had this line of code commented, and when youre suppose to uncomment it, you must comment another line for it to work, so when uncommented that line, i forgot to comment the line i was suppose to comment. (i have used the word comment a lot, i hope its still making sense)
This caused this very long session of debugging, anyways, a little progress has been made on the quiz page, and how it will be done, but i want to submit this project for the lock in side quest, so i might ship it without that feature and then work on it later
Its not allowed to attach picture of code and i must attach a picture, so here is a picture of endpoint i created(and spend a lot of time to actually use it)
Log in to leave a comment
back after a long break, gotta do those 10 hours for lock in sidequest
Anyways
Worked On:
Log in to leave a comment
Worked On:
So now user can select a paragraph they want to read and then hover over any word to fetch its meaning from backend, i have not setup the logic to add the hovered word to user’s weak words yet, thats what i will do very soon, and also setup secure login/logout with JWT authentication.
Log in to leave a comment
Changes:
Next before moving to UI tweaks, I will be working on making each word of a paragraph a separate DOM element which when hovered, fetches its meaning from DB and shows it to use the user.
Log in to leave a comment
Changes:
Yap:
So i am really really bad with UI, my experience with UI is almost zero, but somehow i am doing it in react, so this is what i am up to now, to give an idea of how bad i am with UI, let me share my last 3 searches, what property in css stops a text inside container from breaking into lines, border syntax in css and shadow syntax.
So yeah, this is gonna take time, but i think its a simple project and shouldnt take longer.
Log in to leave a comment
First Log!!
Current Vision:
Progress:
Next:
Log in to leave a comment