diff --git a/DynamoDB.py b/DynamoDB.py index 8012a16..53ca2c0 100644 --- a/DynamoDB.py +++ b/DynamoDB.py @@ -3,6 +3,7 @@ import math course_table = resource('dynamodb').Table('Courses') +# NOTE: another table for users and professors may be necessary. In order to do this we might need functionality to introduce salt and hashing for security def insert(courseId, courseSection, courseLevel, courseDepartment, courseProfessor, courseEnrolledStudents, courseMaxStudents, courseStartTime, courseEndTime, courseIsOpen): courseInsertion = course_table.put_item( @@ -24,7 +25,7 @@ def insert(courseId, courseSection, courseLevel, courseDepartment, courseProfess if __name__ == '__main__': - # NONE OF THE INFO COLLECTING WILL LIKELY BE DONE IN PYTHON, THIS IS PROBABLY VUE STUFF. JUST FOR DEMO + # NOTE: NONE OF THE INFO COLLECTING WILL LIKELY BE DONE IN PYTHON, THIS IS PROBABLY VUE STUFF. JUST FOR DEMO courseDepartment = input("Enter department: ").upper() courseNumber = int(input("\nEnter course number: ")) # TODO: Error handling for invalid inputs courseSection = input("\nEnter course section: ")