I need a small web server that offers REST api that external tools can call to store a very small amount of data (write or read data) and offer an html page to display that data.
The data will be a simple matrix (2d table). I planned that external tools send one data record using the REST api (one square of the table) in json format (it will contain only about three lines). Perhaps save the data in an XML file.
I would like this web server to be in the docker container, so it can be easily deployed in our cloud environment (using the volume, so in does not lose data). He will work in a Linux environment.
I know this is a fairly broad question, but I would like to know what technology to use for this case. Should I use Python? I really don't know how to do this. I have done docker containers in the past for other things, made some REST api in JAVA, but nothing like that.
Do you have any suggestions or resources?
source share