Fig.1.1 Node - Js
Fig.1.1 Node - Js
INTRODUCTION
1.1 NODE.JS
Node.js is a server-side platform built on Google Chrome's JavaScript Engine (V8 Engine).
Node.js was developed by Ryan Dahl in 2009 and its latest version is v0.10.36. The
definition of Node.js as supplied by its official documentation is as follows −
Node.js is a platform built on Chrome's JavaScript runtime for easily building fast and
scalable network applications. Node.js uses an event-driven, non-blocking I/O model that
makes it lightweight and efficient, perfect for data-intensive real-time applications that run
across distributed devices.
Node.js also provides a rich library of various JavaScript modules which simplifies the
development of web applications using Node.js to a great extent.
Fig.1.1 Node.js
1.2 MONGOBD
MongoDB is an open source database management system (DBMS) that uses a document-
oriented database model which supports various forms of data. It is one of numerous
nonrelational database technologies which arose in the mid-2000s under the NoSQL banner
for use in big data applications and other processing jobs involving data that doesn't fit well
in a rigid relational model. Instead of using tables and rows as in relational databases, the
MongoDB architecture is made up of collections and documents.
1
Fig.1.2 MongoDB
1.3 EXPRESS.JS
Express is the most popular Node web framework, and is the underlying library for a number
of other popular Node web frameworks. It provides mechanisms to
Write handlers for requests with different HTTP verbs at different URL paths (routes).
Integrate with "view" rendering engines in order to generate responses by inserting data into
templates.
Set common web application settings like the port to use for connecting, and the location of
templates that are used for rendering the response.
Add additional request processing "middleware" at any point within the request handling
pipeline.
While Express itself is fairly minimalist, developers have created compatible middleware
packages to address almost any web development problem. There are libraries to work with
cookies, sessions, user logins, URL parameters, POST data, security headers, and many more.
You can find a list of middleware packages maintained by the Express team at Express
Middleware (along with a list of some popular 3rd party packages).
Fig.1.3 Express.js
2
2. HISTORY
Part of the business model of Netscape was to sell Web Servers, which included an
environment called Netscape LiveWire that could create dynamic pages using server-side
JavaScript. Unfortunately, Netscape LiveWire wasn't very successful and server-side
Javascript wasn't popularized until recently, by the introduction of Node.js.
One key factor that led to the rise of Node.js was the timing. Just a few years earlier,
JavaScript had started to be considered as a more serious language, thanks to "Web 2.0"
applications (such as Flickr, Gmail, etc.) that showed the world what a modern experience
on the web could be like.
JavaScript engines also became considerably better as many browsers competed to offer
users the best performance. Development teams behind major browsers worked hard to
offer better support for JavaScript and find ways to make JavaScript run faster. The engine
that Node.js uses under the hood, V8 (also known as Chrome V8 for being the open-source
JavaScript engine of The Chromium Project), improved significantly due to this
competition.
Node.js happened to be built in the right place and right time, but luck isn't the only reason
why it is popular today. It introduces a lot of innovative thinking and approaches for
JavaScript server-side development that has already helped so many developers.
3
3. FEATURES OF NODE.JS
Node.js is built on Google Chrome's V8 JavaScript Engine, so its library is very fast in
code execution.
All APIs of Node.js library are asynchronous i.e. non-blocking. So a Node.js based server
never waits for an API to return data. The server moves to the next API after calling it
and a notification mechanism of Events of Node.js helps the server to get a response from
the previous API call. It is also a reason that it is very fast.
4
3.4 HIGHLY SCALABLE
Node.js is highly scalable because event mechanism helps the server to respond in a non-
blocking way.
3.5 NO BUFFERING
Node.js cuts down the overall processing time while uploading audio and video files.
Node.js applications never buffer any data. These applications simply output the data in
chunks.
Node.js has an open source community which has produced many excellent modules to
add additional capabilities to Node.js applications.
3.7 LICENSE
5
4. COMPANY PROFILE
Udemy.com is the world's biggest online learning platform. It is aimed at professional adults
and students.
Udemy have more than 30 million students who have access to over 30 million minutes of
content on Udemy. More than 50,000 instructors are teaching 130,000 courses in over 60
languages. There have been over 245 million course enrollments to date. Students and
instructors come from 190+ countries and 2/3 of students are located outside of the U.S.
Udemy also have over 4,000 enterprise customers and 80% of Fortune 100 companies trust
Udemy for employee upskilling (Udemy for Business). Students take courses largely as a
means of improving job-related skills. Some courses generate credit toward
technical certification. Udemy has made a special effort to attract corporate trainers seeking
to create coursework for employees of their company.
6
5. PROJECT DETAILS
5.1 INTRODUCTION
Duck movie is full internet movie database website that provides information about millions
of films and television program as well as cast and crew .
<!DOCTYPE html><html><head>
<link rel="stylesheet"
href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" >
<link href="https://fonts.googleapis.com/css?family=Courgette&display=swap"
rel="stylesheet">
<title>Movie App</title>
</head>
7
<body>
<section >
</form><span></span></section>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js"
></script><script
src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js"
></script></body></html>
8
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet"
href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" >
<link href="https://fonts.googleapis.com/css?family=Courgette&display=swap"
rel="stylesheet">
<title>Movie App</title>
</head>
<body>
<li class="nav-item">
</form></li></ul></nav>
<div class="container">
<strong>some movie may don't have images beacuse they don't allowed us to use
them</strong><div class="row">
9
<div class="col-sm">
<div class="card-body">
<p class="card-text">
</p></div></div></div></a><% }) %></div></div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js"
></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js"
></script></body>
</html>
<!DOCTYPE html><html><head>
10
<link rel="stylesheet"
href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" >
<link href="https://fonts.googleapis.com/css?family=Courgette&display=swap"
rel="stylesheet">
<title>Movie App</title>
</head>
<body>
<ul class="navbar-nav">
<li class="nav-item">
</form></li></ul></nav>
<div class="container">
<strong>some movie may don't have images beacuse they don't allowed us to use
them</strong> <br> <br>
<div class="col-m">
<div class="col-m"><p>
11
Released: <%= mdata["Released"] %><br> <br>
</p></div></div></div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js"
></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js"
></script>
</body></html>
12
6. CONCLUSION
This website provides user access millions of movies and tv shows details from all around the
world and in different languages movies are added.
Due to the ease of use, anyone familiar with web application usage will find this website user
friendly.
Modeling the system in incremental way is quite useful, making the current version easier to
modify or expand so that the enhanced version can be deployed after testing and analyzing
the current version of the website.
The combination of Node.js with Express and MongoDB make the web pages load fast
enough and make it easier for the user to search and make the best use of the information.
Attractive and effective user interface of the website will encourage the visitor to return.
13
7. REFRENCES
[1] https://en.wikipedia.org/wiki/Udemy
[2] https://www.britannica.com/topic/IMDb
[3] https://www.tutorialspoint.com/mongodb/index.htm
14