Hello,
After reading you Project Description we are ready to help you out related to server and app
As right now i'm not sure that server is wrong or anything is wrong in coding side because i had not test your code and server as i like to discuss more on this
apart from that, you like to move on AWS which is best
come to chat for further discussion, we can start immediately & provide you an best solution
Best Regards,
Deepak.K