CS-Social-Good-CalPoly / Vera

6 stars 1 forks source link

Story Tokens (Part 5) #295

Closed daiwik-swaminathan closed 3 months ago

daiwik-swaminathan commented 4 months ago

Following up on the work from issue #294, this task finishes the story token logic at least on the posting-stories aspect of the website. With the frontend components now in place, we can proceed with the backend functionality of the newly added components.

1) Recall that if the user chooses the option that they already have a token, then an input field appears, prompting the user to type their token. We need to add some logic (executed after the user hits the final submit button) which checks if the inputted token is valid. Valid in this context means that the token exists in the database.