jw5374 / KringleKonfidential

Kahoot but with a gift
1 stars 0 forks source link

Abstract out database operations into functions #9

Closed jw5374 closed 2 years ago

jw5374 commented 2 years ago

Move the logic from inside routes, into functions

jw5374 commented 2 years ago

This along with #17, can act to secure the API. Need to restrict operations that can be accessed publically

jw5374 commented 2 years ago

At the current juncture, I believe this needs to be thought out more. Unsure as to how exactly we should do the abstracting, but so far it doesn't seem extremely necessary yet given our setup.