Been playing with backend, and let’s start.
When you write google.com → its basically making a request to a machine which is running the files which you will see.
The machine needs to be called, and we call it through this domain
But the actual call is made to
1) IP address
2) port number
of that server
So google.com ⇒ ip_address + port no.
And that’s what is for every backend service.
Can say the same for frontend, ip_address + port no.
But in backend, some form of data gets send, and in frontend - html, css file gets send
(Maybe that’s why it takes time to load a whole page, but interacting with any function on that page is fast)
To open a backend server, just need to write in code which port needs to be open, and run it - can use 0.0.0.0 for just using it with ip adress + port
But if want to direct to a domain, can use reverse proxies to forward it to the desired port without specifying the port.
So setting up a backend server is pretty easy, the hard thing is thinking the logic of all the parts and how it will come together and what is needed, where to host what, how to display that.
Have heard React got designed with the mindset to see things in small blocks, which might be what is needed here, to design the whole logic for accessing things here.