Commit Graph

80 Commits

Author SHA1 Message Date
ccb59975f7 Refact: rewrite populate db 2022-12-31 14:28:46 +01:00
0ebc24ff29 Feat: add sqlite.db in gitignore 2022-12-31 06:39:27 +01:00
07595f1fd8 Feat: add gets and delete api paths for students 2022-12-30 14:41:23 +01:00
f3302e2132 Feat: add put and delete path to api 2022-12-30 13:29:43 +01:00
3b98a881e7 Refact: use service for post and put requests 2022-12-30 10:59:21 +01:00
356db507eb Feat: add delete_student 2022-12-30 10:39:51 +01:00
066990d109 Feat: add update_student to service 2022-12-30 10:34:20 +01:00
94c942d055 Feat: add add_student to service 2022-12-30 08:15:37 +01:00
12b3220170 Feat: add update and delete tribe to services 2022-12-30 07:47:30 +01:00
6eec1f83bb Feat: add sad path test and exceptions for update and delete 2022-12-30 07:45:26 +01:00
36e90a004e Feat: add update_tribe in service 2022-12-30 07:35:05 +01:00
a95ce91b29 Feat: using service does not require to know about domain 2022-12-30 07:27:27 +01:00
b8a769b96d Feat: add add_tribe in service 2022-12-30 07:19:48 +01:00
6f5b479426 Dev: add pytest-cov in dev dependencies 2022-12-30 06:48:01 +01:00
5cf062c7a0 Feat: add put for student and fix fixture around database 2022-12-29 17:47:40 +01:00
c541d0063f Refact: split e2e api test into student and tribe 2022-12-29 07:39:42 +01:00
c7eb8e44d2 Feat: add unhappy path test for post student 2022-12-29 07:37:49 +01:00
febe686688 Feat: add response error when tribe already exists 2022-12-29 07:23:02 +01:00
ccf1655cf4 Feat: add e2e test for api 2022-12-28 07:47:35 +01:00
4a16444835 Feat: add post student 2022-12-27 11:57:50 +01:00
9ec183c3a5 Feat: add overwrite when 2 students have the same id and split tests 2022-12-27 10:07:38 +01:00
e5a50e0be8 Feat: basic managent for students 2022-12-27 08:41:59 +01:00
fd567c292d Feat: add get method for student repository 2022-12-27 08:13:54 +01:00
4e13d0e32f Feat: rename populate and use fakers 2022-12-27 08:13:34 +01:00
de9a4bc4be Fix: default field generation 2022-12-27 08:00:28 +01:00
2dc1cf6fb8 Fix: remove can_load_student test 2022-12-27 06:59:36 +01:00
7d908775a9 Fix: name generation by not using words but word 2022-12-27 06:59:00 +01:00
dfd0bb2b81 feat: add update and delete for tribes 2022-12-26 19:39:44 +01:00
f73ad3a34d Feat: add add tribe 2022-12-26 19:21:00 +01:00
fe92433311 Feat: add get_tribe for sqlite 2022-12-26 19:05:50 +01:00
6fbe238e59 Feat: start sqlite tribe repository 2022-12-26 18:07:23 +01:00
566ba8e2f5 Feat: autogenerate id for student if none is given 2022-12-26 11:46:29 +01:00
2444bf38a1 feat: add mapper for student and it loads 2022-12-26 11:21:05 +01:00
6f486a6f3c Feat: Add FakeTribeRepository 2022-12-26 07:03:52 +01:00
5735d344c5 Feat: use Tribe repository in api 2022-12-21 14:16:09 +01:00
b3bb1f0cc8 Feat: add TribeSQLAlchemyRepository 2022-12-21 14:10:04 +01:00
21821c275e Feat: add status and fix response_model 2022-12-21 10:39:51 +01:00
8911f8ddeb Refact: use __post_init__ for dataclass 2022-12-21 07:24:48 +01:00
4e8addd6cb Feat: get and put tribes api 2022-12-21 06:53:59 +01:00
ba750989d8 Refact: simplify model name 2022-12-21 06:53:27 +01:00
309e9627e7 Feat: add __repr__ and to_dict 2022-12-21 06:53:12 +01:00
b4df4d6c09 Feat: Tribe equality on name and add tests 2022-12-20 10:37:55 +01:00
723092c38f Feat: add orm for Tribes 2022-12-20 10:25:12 +01:00
77b26f1180 Feat: add sqlalchemy 2022-12-20 09:48:51 +01:00
b50227a658 Refact: change fakes creation functions 2022-12-20 09:04:19 +01:00
4f4fc53253 refact: move Tribe to own file and rename tools to fakes 2022-12-20 08:28:45 +01:00
67b9a1e8a0 Feat: add register_assessment for tribe 2022-12-20 08:23:52 +01:00
a3c44321bf Feat: introduce faker for testing assessment aggregate 2022-12-20 07:58:50 +01:00
e496d86828 Feat: first step in assessment aggregate 2022-12-20 07:18:48 +01:00
c4fcb6a0ef Feat: build tribe and student model 2022-12-20 06:59:35 +01:00