WEB-NODE
The basics of Node.js
Using JavaScript language on server side
Description
During the course, participants will learn the basics of the NodeJS runtime environment. They will learn about its architectural structure and the basics of asynchronous, single-threaded operation. They will be able to build console applications, create web servers. They will also gain insight into the basics of testing through the Jest test framework.
Suggested For
The course is recommended for anyone who is comfortable in the world of JavaScript and would like to use their knowledge on a server-side. The course does not cover the different NodeJS frameworks .
Outline
- NodeJS architecture, concepts
- Advantages, disadvantages, who and what it is used for
- Using REPL(Read Eval Print Loop)
- Getting to know NodePackage Manager
- Running NodeJS files and creating your own commands
- The NodeJS module system - commonjs
- Similarities and differences between ESM and commonjs
- File and folder operations. Path management
- Using streams - read, write, modify data streams
- Event handling using the EventEmitter class
- Query operating system related data
- build complex command-line applications using the yargs module
- using JSON files as a database
- The basics of unit testing with Jest
- The basics of test-driven development
- Test coverage
- Simple web server deployment, file serving
- Send Http response using streams
- Routing
- Using templates - writing variable values, html file
- Creating custom error pages
- Using environment variables
- Semantic versioning
- Package updating, auditing, dependency management
Prerequisites
Windows 10, advanced JavaScript skills