Good afternoon everyone! I am a Computer Science student, but I have not yet had the opportunity to have a deeper experience with programming, involving the necessary integrations in applications and systems, and I would love to get a sense of what I'm going to need.
In summary, I have a project in which I intend to develop an Android application, which will act almost as a front, sending the data to my Python server, which will store them in the respective database, perform Machine Learning algorithms on that data, and will return it to my application, bringing it to the front (displaying on screen). Basically it will be an application of questions and answers like quizzes.
My question is: how will I, through my application, access my Python application (or make the calls), return them, and the like? For Python integration < - > DB I have already looked at some possibilities and will probably use lib pymysql, however I could not find something like that for the < - > Python side (eg the user hit 3 questions, I submit this integer for my Python application and the respective functions for the calculations are called in it.)
I read a bit about "web services", do I need something like that for what I want? Any recommendation of materials or websites where I can study this further is very welcome!
Thank you in advance.
Edit 1: Initially, I would just like to create a basic connection, with the good old login screen, that is, I want to create an authentication performed by my server-side (Python + DB). From this, I want to explore the parts together and individually.
I ask, if possible, any specific example of this procedure, something like "Android - X tool - server - tool Y - database", that is, the way it all connects, citing tools, so that from From this example I can look for similar tools and find the one that best suit me. I think a graphic example would elucidate my doubts a lot.