https://www.udemy.com/node-de-cero-a-experto
sudo npm install -g nodemon
nodemon {file.js}
Practissing with node basics
Practissing with node callbacks, promises, lambdas, async and await
Node modules, npm, 3rd party libraries
Run this command:
npm install
node app help
Todo app
Node modules used:
colors
,yargs
Run this command:
npm install
node app help
Weather app
axios library
https://www.npmjs.com/package/axios
returns a Promise (that is the reason of using it instead of request library (https://www.npmjs.com/package/request
)
Node modules used:
axios
,yargs
Run this command:
npm install
node app help
node app -a "London"
Webserver using express, handlebars (hbs)
Node modules used:
express
,hbs
(andfirebase-admin
,firebase-functions
to deply in firebase)
The project has been deployed to Firebase, so it has been reorganised to that
Run this command (from functions folder):
npm install
node index or npm start or npm run start or npm run nodemon
Restserver using express
Node modules used:
express
,body-parser
,mongoose
,mongoose-unique-validator
,bcrypt
,underscore
,jsonwebtoken
The project has been deployed to Heroku
Run this command:
npm install
node index or npm start or npm run start or npm run nodemon