Skip to content

Comments

Feature/bknd python#25

Open
IlnurHA wants to merge 12 commits intodevelopfrom
feature/BKND-python
Open

Feature/bknd python#25
IlnurHA wants to merge 12 commits intodevelopfrom
feature/BKND-python

Conversation

@IlnurHA
Copy link
Collaborator

@IlnurHA IlnurHA commented Jun 29, 2022

No description provided.

IlnurHA added 12 commits June 18, 2022 17:17
Flask app configuration (for future db)

Added tests for API
	Added tests for quizzes and questions

Flask app:
	switches to fake repository
	'/'
	'/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
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
	Rewrited foreign key mode (To CASCADE mode)

QuizResource:
	Creation of quiz extracted into a function
	Quiz put request (recreation of quiz)

Test_api:
	quiz put request added
	Catching error if user creates several accounts with the same email

test_orm:
	Created more tests

test_api:
	added assertions

repository:
	fixed bugs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant