DEV Community

Discussion on: Beginner's guide to creating a Node.js server

Collapse
 
thomassalty profile image
Thomas Soos

Thanks a lot for the quick reply @lisahjung !

It certainly helps, but now I've got 3 more questions if you don't mind me asking 😀

1, I've thought accessibility is something that front-end developers work on. For example using semantic html, using alt texts for images and aria-labels for screen readers, etc, etc. Or, if you meant accessibility in terms of speed and performance of a website, I think that's also a front-end developer's responsibility by keeping the number of requests low, minifying and compressing necessary files, using CDNs, etc. So my question is:
What do you mean by "back end developers may focus on accessibility"? What do they do to improve it?

2, What if Auth and other security measures have already been added as well as a database? Or even when there's no database? I understand, that no website or webapp is "done" but what if these security measures have been added, they work fine and there are no security issues? What do back-end developers do in that case? Are they just going to start to work on a new app or website?

3, How does a node.js server look like in the real world? Should I imagine a normal server computer that has a more complex "server.js" stored in it? What port does it listen to? If it also listens to port 3000 or any other port, why don't we have to add the port number on URLs the same way we did with localhost:3000?

Once again, thanks a lot for your help! I do appreciate it 😉