Take a think
The browser sends a verb and an address
The Express drops it down a predefined path.
Node returns the response.
Notice something?
The server doesn’t know or care a thing about you
REST
ReprESentaTion State Transfer:
RESTful criteria:
The complete list of criteria is longer, here below are the elements that are relevant for our current understanding:
“... the code is more what you'd call "guidelines" than actual rules.”
Client-server separation:
Neither the client, nor the server have direct access to each other’s file systems or back-ends.
Ignorance of each other’s histories
Neither the server, nor the browser will store information about past transactions or internal states:
Stateless Communication
The big one:
You must understand this one, so discuss.
What’s this all for?
To keep the server functional, because functional is :
pause.
Any questions? This is important.