Setting up a webserver using nodejs is very easy. Using the HTTP-module simply create server, provide a handler function that will send some data back to client and start it on some port. But how difficult will it be to create one directly using the net module. The net module is in nodejs the way to build applications using the tcp protocol. HTTP is a protocol that is transferred within the tcp payload and it contains the application data.
Do you know `localtunnel` or `ngrok`? These are services, that let you expose a local application server to the public internet. Essentially they are proxy servers, but allow to the public to access your local machine. I found that some VPN services also support such feature via port forwarding.
When checking out some games, it can definitely motivate to do some coding. I found it very joyful to see some `Cities Skyline on youtube`. It is a city building game with extensive traffic management features. Its 3D graphics is beautiful. Watching how someone was managing the traffic, has something very satisfying.
As I read about what is new and hot in JS, I came across https://risingstars.js.org/2019/en . Here I found gun. And with that I got a followup to my last post. Gun is a system/framework for building distributed apps. Apps that can work, hosted by the community, and can run without the need from your side, to run all the expensive servers.
SQL is awesome. It let us comfortably access our data on a server. We can define our schema, insert and manipulate our data and of course -- this is why we all use it -- read the data in a structured way. It allow us to describe conditions that reach beyond multiple data tables. A feature we can not get away with, is the ability to join tables, a way to merge our data on our gusto.