Closed mysticBel closed 3 years ago
Node.js is an open source server environment.
Node.js uses JavaScript on the server.
Thetask of a web server
is to open a file on the server
and return the content to the client.
Node.js has a built-in module called HTTP, which allows Node.js to transfer data over the Hyper Text Transfer Protocol (HTTP). ๐๐โจ The HTTP module can create an HTTP server that listens to server ports and gives a response back to the client.
The Express philosophy is to provide small, robust tooling for HTTP servers, making it a great solution for single page applications, web sites, hybrids, or public HTTP APIs.
Software Developersย from around the ๐ have already written a lot of great programs , they have made them available for the whole world as an open source projects. We can use those packages in our applications , so that we don't have to reinvent the wheel.
Nodemon is a package which enables to see real time actualizations in Node.js (=LiveServer ๐) Expresss is a package for building real web applications.