161225
Changes can be seen on Github Commits
Github Commit 1
Github Commit 2
Be aware the repo is private.
Tasks Achieved in commit 1:
- Managed to create baseline for the python backend
- Established Basic backend and frontend functions
- Established a temporary transfers file
Tasks Achieved in commit 2: - Removed the function firefly_user_options() since it did not achieve any purpose in the current code. It may be implemented again in the future.
- Created a function called firefly_read_teacher_names() that would read the output of the transfers.txt file and print the username and password of the user into the file if they were registering an account. If an account did not exsist with that username, it would return a "the file cannot be found error."
Stumbling Blocks:
- Files did not transfer as expected and the file certificate upload handler was unable to discern the differences between executable files, text files and html files which would eventually lead the user to the next page anyway. Fixed in the
- Did attempt to make this website in django but the application did not run in everything i tried so i found an alternative called NiceGUI which is what this project is utilizing
- I tried to attempt an automatic file organisation but i ran into the roadblock of it being able to create duplicate teachers and the teacher logins, passwords and faculty tags were not able to be seperated or sorted.
TEACHER_NAME
TEACHER_FACULTY
TEACHER_PASSWORD - the program would just paste everything underneath each other which would cause problems for the login.
Reflective Comments:
Overall i feel like i was able to isolate problematic features in the code and find many bugs in the code. I think that if i could have been more decisive on whether to use NiceGUI instead of procrastinating on attempting to use django i could have prevented these errors from surfacing. I also feel that this code was very basic is likely unable work properly with NiceGUI.
Resources and code used:
I utilised the python package NiceGUI in order to create this web app, i also utilised many different python packages such as OS and bcrypt but i have also used many more which can be found in the requirements.txt file