Node Flashcards
npm -commands should always be run in the project r.._ directory
npm -commands should always be run in the project root directory
when we want to save something as a development dependency, we need to remember the –save-d._ flag
when we want to save something as a development dependency, we need to remember the –save-dev flag
you have already used nodemon, but ts-node has an alternative called ts-node-d._
you have already used nodemon, but ts-node has an alternative called ts-node-dev <-
All HTTP requests except POST should be id____tent
(This means that if a request does not generate side effects, then the result should be the same regardless of how many times the request is sent.)
All HTTP requests except POST should be idempotent:
Methods can also have the property of “idempotence” in that (aside from error or expiration issues) the side-effects of N > 0 identical requests is the same as for a single request. The methods GET, HEAD, PUT and DELETE share this property
This means that if a request does not generate side effects, then the result should be the same regardless of how many times the request is sent.