This code was written by Junior scholars they had the best intentions at heart.
You have a timeframe of two hours to correct any technicalities code smells or incompatible arch patterns you see.
Keep in mind that your end result will be supported by a a team of four devs, so think carefully on the tech stack and the architectural patterns, the new team will have even a tighter schedule and no time to refactor your initial code, they will have a smarm of new features coming in
Guide this code into the light