项目作者: MEDHA-TIWARI

项目描述 :
using node js building fast and scalable networking applications, day-wise audit-report (from the very basics)
高级语言: EJS
项目地址: git://github.com/MEDHA-TIWARI/nodejs-daywise-audit-.git
创建时间: 2021-06-02T09:49:15Z
项目社区:https://github.com/MEDHA-TIWARI/nodejs-daywise-audit-

开源协议:

下载


nodejs_intern

Starting from “hello world” to making a whole beautiful dynamic web site with user-built DB.
Concepts and learning


Day 1-

  • Why node.js?
  • What’s the major uniqueness from other open source cross platform backend envs?
  • About LTS and latest versions, installation and env setup.
  • Editor used- Vscode
  • basics syntaxs, and evergreen starter pack for any language “HELLO WORLD” !

Day 2-

  • basic calc, to check various arithmetic operations.
  • Using module.exports and require(), how can we fetch the code of other files using ‘require()’ in node.js
  • core module demonstration, HTTP module on browser (created server),about usable ports and a bit of networking.

Day 3-

  • setting Timer, using fucntions setTimeout() and clearTimeout().
  • same with setInterval() and clearInterval().
  • used callbacks, We can pass functions as parameters to other functions and call them inside the outer functions.
  • Major aspect of js, Promises, how it works how its different from callback function, how it can handle the Errors!

    -if promises are fulfilled

    .then(onFullfillment)

    else

    .catch(onRejection)

  • Blocking and non- blocking concept

  • Synchronous and Asynchronous in node.js
    -File Handling (Fs module)
    (includes- creating, reading, writing , deleting files and other operatings in file handling, asynchronous read, synchronous read)

Day 4-

  • Installation of npm, NPM is a node package manager, it is basically used for managing dependencies of various server side dependencies.
  • installation of nodemon, nodemon is a tool that helps develop node.js based applications by automatically restarting the node application when file changes in the directory are detected.
  • Made a chat application (ref socket.io)

Screenshot 2021-06-03 at 21 54 57


Day 5-

  • Express.js
  • learnt about modules
  • made a small demo web page using express.js
  • SEO url (*imp)
  • made few more types of chat-app (broadcasting, multicasting)

Day 6-

  • how easy it is do just drop all those traditional methods and adapt this cool way of doing same!
  • made skeleton of my web page in no time

Screenshot 2021-06-03 at 23 38 39


Day 7-

  • using express js only, dynamic student form has been created

" class="reference-link">Screenshot 2021-06-07 at 14 37 29

Screenshot 2021-06-07 at 14 34 03


Day 8-

  • used xampp server, and connected the DB

Screenshot 2021-06-14 at 22 11 57

  • created a small database for storing appliance details, and performed CRUD on different tables -
  • C : Create
  • R : Read and Insert

Screenshot 2021-06-08 at 13 42 18


Day 9-

Futhermore, amended the DB performed following operations -

  • U : update
  • D :Delete

Screenshot 2021-06-09 at 13 18 49

Screenshot 2021-06-09 at 21 46 07


Day 10-

Learned about rest APIs, how they work

  • created my own rest API
  • rest APIs and restful APIs
  • how to intergrate them in projects