Created database class.

Tidied app.py so that it only contains controller logic.
Added error handling for if number of entrants exceeds number of possible identifiers
Updated test coverage to test for all identifiers, as well as error case
This commit is contained in:
2019-07-06 12:43:49 +01:00
parent 9c42cb7890
commit 4da511a7d5
7 changed files with 153 additions and 55 deletions

View File

@@ -33,7 +33,7 @@
![Screen Shot](screenshot.PNG)
This project is to allow homebrew club members to be given an identifying number/letter to put on their bottles for competitions. The goal is to allow all members to take part with no invigilator/organiser required.
This project is to allow homebrew club members to be given an identifying number/letter to put on their bottles for competitions. The goal is to allow all members to take part with no invigilator/organiser required. It support around 100 entries (alphabetical identifiers are given first, then numerical)
### Built With
This project is built in python and deployed in docker.