Skip to content
HALLOWEEN edited this page Aug 12, 2022 · 110 revisions

TODO

  • Heroku: connect to postgres by setting heroku.yml job's env to use secret postgres uri
  • [Cannot Proceed: Card Problems] Deploy
    • Continuous Delivery to Azure (using student plan)
  • Read on Semantic Versioning conventions.
  • Check if test case is present for deleting records with relationships (ALL models)
  • Create enhancement request at kweeznuts repository: loading screen (progress bar/ circle icon or smth) for longer transactions

Cleaning code, perfectionist-type agenda, I resolve to not do these:

  • Update all methods that use factories to get object itself as input instead of id
  • Update all CRUD methods to use sqlalchemy join method instead of so much customizations (see quiz_action crud)
  • Rename to inquizitor-ai? see https://namae.dev/
  • Organize: https://fastapi.tiangolo.com/tutorial/path-operation-configuration/#tags-with-enums
  • Clean existing tests, divide into crud tests and api tests
  • Ponder: read-answers endpoint, is it necessary?
  • Add Test utility for letting a student to answer stuff prior
  • crud_quiz:: get_multi_by_participant:: return None for quiz["answers"] if due date has not yet passed
  • Investigate JWT authentication via FastAPI issue
  • Ponder what happens when a question is left unanswered? see \inquizitor\inquizitor\tests\api\api_v1\test_answers.py
  • Ensure that quiz-user combination is unique, see \inquizitor\inquizitor\api\api_v1\endpoints\quiz\quiz.py
  • Update factories (new model factory attributes), see \inquizitor\inquizitor\tests\factories.py

THESIS

  • Should users be unable to create accounts? Admin will create accounts from an email list instead (import)
  • Should superusers and teachers also be able to answer a quiz for testing purposes?

TRY

FASTAPI

DEV

  • HTTPie: user-friendly command-line HTTP client for the API era
  • Black: uncompromising Python code formatter, makes code review faster by producing the smallest diffs possible

SUBLIME3

GIT

  • git clone Work:username/repo.git

REFERENCES

Clone this wiki locally