Please clarify a few basic points (answers to some items can be answered with just a set of keywords, I don’t know in which direction to look at all at the moment):
- If I suppose I wrote some kind of unpretentious web server on Go, then as I understand it, I need to fix it somewhere on the hosting. For this, I need to somehow move the binary to this host and how to describe the nginx configuration (let it be nginx) so that this nginx performs proxying to my server. How does this process occur at all?
- I learned that nginx gives static files directly from disk. How do I place these files on this disk?
- How can I set the port on which my server will hang in the code? After all, the host itself must somehow define the port of my service, and at the same time I need to specify it somehow in order to compile the sources (or it is specified as a parameter ...)
- How do I place the base on the host? Suppose I decided to use SQLite and it will eventually grow very much over time. Will there be any sanctions applied by the host, for what I devoured many resources at my base?
- What technology stack is desirable to know to pull the backend on go?