This repo is for studying topics about NodeJS that every developer should know.
Here I want to share my knowledge I have acquired through my own studies, whether is useful for you please feel free for using it.
The main commands for starting a new app on NodeJS.
- npm init: it will create the config file called package.json
- npm install nodemon
--save -> parameter for setting applications dependencies.
--save-dev -> parameter for setting developer dependencies ( which only the developer will use for developing, is not necessary for running the app :) )
- npm remove nodemon
- npm install -> it will install all dependencies set in the file package.json
- *place the folder node_modules into .gitignore because you can install all dependencies using npm install command.
-
Restart the app when some changing is made npm install nodemon --save-dev
-
Parsear request npm install body-parser --save
-
Manipulating format dates in an easy way npm install moment --save
-
Scheduling jobs npm i cron
-
Framework for building API npm install express --save
-
Axios Http client to make requests npm i axios --save
-
[PT]Async / Await Simples e Descomplicado no JavaScript - Youtube
-
[PT]Desvendando Definitivamente as Promises em JavaScript - Youtube
-
[PT]JS Assíncrono: Entenda de vez Callbacks, Promises e Async/Await - Youtube
-
[PT]Rocketseat
-
[PT]Erick Wendel
-
[PT]Filipe Deschamps
-
[PT]Mango
-
[PT]Rodrigo Brannas