Arya Institute Of Engineering Technology and
Management
In
Industrial Training On Node.JS
Submitted To Submitted By
Sanjay Tiwari Samaksh Gautam
(Head of Department) (21EAOCS300)
Arya Institute of Engineering Technology and Management
JAIPUR (RAJASTHAN)-302026
CONTENTS
Company
Training Certificate
Introduction About Node.JS
Linux vs Unix
Commands in Linux
Advantage of Linux
Disadvantage of Linux
About Project
Project Snapshots
Conclusion
ABOUT COMPANY
Celebal Technologies provides IT consulting services to
manage the digital needs of organization .
Celebal Technologies are a leading Microsoft Azure Managed
Service provider and an elite Databricks partner with
prominent expertise in Data & AI.
Celebal Technologies helped leading Fotune 500 companies in
their innovation journeys to boost revenue .
Celebal are the trust technologies partner of RedHat,Microsoft
Solution partner ,Aws etc.
Training Certificate
Introduction:Basic
In simple words Node.js is ‘server-side javascript’.
In not-so-simple words Node.js is a high-performance
network applications framework, well optimized for
high concurrent environemts.
‘Node’s goal is to provide an easy way to build scalable
network programs’
.
Advanced Node.js
Node.js uses an event-driven, non-blocking I/O
model , which makes it lightweight.
It makes use of event-loops via JavaScript’s callback
functionally to implement the non-blocking I/O.
Programs for Node.js are written in JavaScript but not
in the same JavaScript we are use to.
Everything inside Node.js runs in a single-thread.
What can you do with Node.Js?
We can create an HTTP server and print ‘hello world’
on the browser in just 4 lines of JavaScript.
We can create TCP server similar to HTTP server, in
just 4 lines of JavaScript.
We can create a DNS server.
We can create a web chat application.
Node.js can also be used for creating online games.
Node.JS Ecosystem
Node.js heavily relies on modules , in previous
examples require Keyword loaded the http &net
modules.
Creating a module is easy, just put your JavaScript
code in a separate JS file and include it in your code
by using keyword require,like:
var module = require(‘./module);
Libraries in Node.js are called packages and they can
be installed by typing in the terminal
By command: npm install “package_name”;
NPM(Node Package Manager) comes bundles with
Node.js installation
Lets Connect to a DB(MongoDB)
Install mongojs using npm , a mongodb driver
for node.js
“npm install mongojs”
Otherwise we can download it from the
browers like mongodb Altas easily.
In the atlas we have to create the project
after that writing the username and the
password .
And in the code to retrieve the documents we
use the method like
var db = require(“mongjs”)
When To Use Node.js?
Node.js is good for creating streaming based
real-time services, web chat
applications,static file servers etc.
If you need high level concurrency and not
worried about CPU-cycles.
If you are great at writing JavaScript code
because then you can use the same language
at both the places : server-side and client-side
About Project:-
Build an application that is capable of doing
some cloud operations over the AWS cloud by
the instructions of the finger gestures of human
being .
In this project we use the gestures to open the
camera and video as well as notepad and all.
Project Snapshots:-
CONCLUSION
We have parallely work on the linux ,Jupiter
python .
Linux is more secure than other operating
system .
Linux is a flexible, robust node operating system
for Beowulf computational clusters.
While not a "cancer" like some detractors have
labeled Linux, it has spread quickly from its
humble beginnings as a student's hobby project
to a full-featured server operating system with
advanced features and legendary stability.
Thank you