Commit Graph

16 Commits

Author SHA1 Message Date
Paul Harrison 6f3de3a885 feat: Dockerize API 2023-05-16 10:22:26 +01:00
Paul Harrison aaea9c8aa3 docs: Update README with requirements 2023-05-16 10:22:19 +01:00
Paul Harrison 9baafc80ed feat: Hand ranking API
Hand ranking API with a health check root endpoint and rank endpoint.
2022-12-15 16:02:14 +00:00
Paul Harrison b4ba284dcc feat: Construct ranked hand with description
Refactors rank test functions to retern details required for
description, then return RankedHand from rank_hand function.
2022-12-15 16:02:14 +00:00
Paul Harrison d924e39608 feat: Get hand rank
Method to get rank of a given hand.
2022-12-15 16:02:14 +00:00
Paul Harrison 5393e7b799 chore: Validate hand length 2022-12-15 16:02:14 +00:00
Paul Harrison 68bfee17f1 chore: Introduce card factory 2022-12-15 16:02:14 +00:00
Paul Harrison 6be02c447d feat: Ensure hand comprises unique cards 2022-12-15 16:02:14 +00:00
Paul Harrison c337984965 fix: Suit enum definition 2022-12-15 16:02:14 +00:00
Paul Harrison 2ba3a42b9b chore: Add coverage 2022-12-15 16:02:14 +00:00
Paul Harrison f0af94aa41 chore: Add helpful make commands and run linting 2022-12-15 16:02:14 +00:00
Paul Harrison 8a7147441a chore: Add linting configuration 2022-12-15 16:02:14 +00:00
Paul Harrison 69dee5d5a5 chore: Add Pytest configuration 2022-12-15 16:02:14 +00:00
Paul Harrison adb149e858 feat: Implement card and hand domain models 2022-12-15 16:02:14 +00:00
Paul Harrison 5efd77728d feat: Implement auto-naming string enum 2022-12-15 16:02:14 +00:00
Paul Harrison 3899da2f52 chore: Initial project setup 2022-12-15 16:02:01 +00:00