So, you already have the code and just want to implement multi threading and the flask deployment? So, You have the front-end as well?..Could you give some details?
I have been learning python since 5 years and developed may projects and games using tkinter and pygame.
I have created an online web based chatting application with flask as back end which uses multi-threading for running the socket server continuous. ping me personally we will talk