Open
Conversation
Model sketch orm draft
Added user, quiz, question, answer tables
Model amendings: Added Answer class for answers table Amended class Question, due to the changing above Orm: mapping added __init__'s added imports tests: just created file to write tests for existing code
flask_app: start basic functions repository: function to get repository from whole project model: without major changes
Main: Resources added (User, Quiz, Question, Answer) flask_app: start basic functions repository: function to get repository from whole project model: without major changes
Amendings in model method - all classes takes the same arguments as their corresponding tables have repository - fake repository added to test API api_initialization - changed urls for API, to get all necessary information for processing request QuizResource - fixed bugs test, test_main - files used for testing
Declaration of all methods for API !!! There are NOT implemented methods !!! (Added TODOs in comments) Model: deletion fields that are not in DB UserResource: Added one more resource (UserRegistractionResource) to make possible registration requests Api_initialization: added one more api request for UserRegistrationResource Test: added more tests for API
Python backend sprint tasks
Rust backend sprint tasks
Frontend sprint tasks
Flask app configuration (for future db) Added tests for API
'/'
'/lobby'
'/login'
'/register'
Other changes:
flask_app:
webhandlers for pages and tests
model:
Added 'to_dict' operation
repository:
Added debug operations ('get_users')
orm:
Some tables corrected
Creation of tables
tests:
test_api - small changes
test_orm - first test for orm (user_creation)
user: -nickname, +name, +surname question: +time_limit
…als (email, password)
Amendings of Resources of API Creating algorithms to create user, quiz, and add them to DB Implemented support function to process data in services
Quiz creation process is working services: Algorithm for quiz collecting model: small amendings UserResource: Rename of api resources to UserLoginResource and UserRegistrationResource api_initialization: changes of login and registration urls test_api: changing test for quiz creations
quiz, question, answer delete functions Quiz Resource: deletion, creation test_api: quiz_deletion test orm: mappers for foreign_key update
Catching error if user creates several accounts with the same email test_orm: Created more tests test_api: added assertions repository: fixed bugs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
More tests for API
Configuration for future Database