marioarranzr / nodeJS

Learning Node.js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NodeJS

https://www.udemy.com/node-de-cero-a-experto

Useful

Nodemon

sudo npm install -g nodemon nodemon {file.js}

01-hello-world

Practissing with node basics

02-principles-node

Practissing with node callbacks, promises, lambdas, async and await

03-node-basics

Node modules, npm, 3rd party libraries

Run this command:

npm install
node app help

04-todo

Todo app

Node modules used: colors, yargs

Run this command:

npm install
node app help

05-weather

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"

06-webserver

Webserver using express, handlebars (hbs)

Node modules used: express, hbs (and firebase-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

07-restserver

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

About

Learning Node.js


Languages

Language:JavaScript 97.2%Language:HTML 2.8%Language:CSS 0.1%