
Master NodeJS for server-side JavaScript in web apps, handling requests and database interactions with Express. Build with the Mean stack—Angular, MongoDB, npm modules—for fast, cross-platform development.
Download and install the latest stable NodeJS for 64‑bit Windows (and other OS options), then install and configure a free cross‑platform code editor that supports JavaScript, C#, and Python.
Create your first Node.js app by writing a basic script with variables, strings, numbers, and objects. Print results with console.log, save the file, and run it with node.
Learn how to create nodejs modules as files, export variables, functions, and objects with the exports object, and require them across modules.
Learn how the fs module interacts with the file system through a friendly API to read files and manage storage, including read, write, rename, and unlink.
learn how to read a file with readFile in nodejs using the mean stack, including requiring modules, accessing the file system, handling callbacks, and choosing utf-8 encoding.
Learn how readFileSync implements a synchronous file read in NodeJS, compare it to callback-based approaches, and understand why the synchronous method is often not recommended for production.
Learn to write files in node using writeFile, compare synchronous and asynchronous approaches, read and append to existing content, and create new files with data.
Master writing and testing files with writeFileSync, handle read fails synchronously, delete the file, and see the program create automatically with the same content for nodejs mean stack.
Learn how to rename files in NodeJS using asynchronous callbacks, why to avoid synchronous methods, and how to handle success and error states with meaningful function names.
Learn how to copy a file in Node.js by reading from one file and writing to another, using a callback to handle reading completion and initiate the write.
Unlink deletes a file, clarifies when a copied file remains unchanged, and demonstrates using read file arguments to complete deletion.
Learn how to use file stat metadata in Node.js to retrieve creation, access, and modification times (in milliseconds) and file size, and print these details in a simple demo.
Learn how readdir reads a directory to list files, distinguish files from folders, and handle the arguments with error and the information in the second argument, noting subdirectory handling.
Explore how MongoDB stores data as documents in collections, not tables, using JavaScript objects for fast, SQL-free data access.
Install MongoDB on Windows, accept the license, and complete the setup; then configure environment variables including path, and create a databases folder in C drive with a default data directory.
Learn to create and manage a MongoDB database and collections in the mean stack, including creating a company database with products and employees collections and listing them.
Insert, update, and delete documents in a database collection from a NodeJS MEAN app, using single and multiple object inserts and arrays of records.
Discover how ObjectId generates a unique hex identifier from a timestamp, machine id, process id, and counter for automatic record labeling.
Learn to query documents conditionally in the NodeJS & MEAN stack, using single or multiple conditions, comparison operators, and selecting specific fields to display.
Master updating, deleting, and upserting documents based on conditions. Learn how to update single or multiple records, unset fields, and use upsert to insert when no match is found.
Apply limit and skip to fetch only a subset of data, use sort to order results, and implement ensureIndex to speed up queries by indexing relevant columns.
Explore alternatives to referential integrity and joins by using references or embedded documents, illustrated with category and product data, and the trade-offs of duplication.
Explore what a package is and how package.json defines name, version, description, license, keywords, and home page. Learn about dependencies and devDependencies, and how npm installs them using specified versions.
Learn how to install mongoose with npm, manage dependencies, lock exact package versions, and ensure consistent behavior between development and production environments.
Learn how to read data from MongoDB using Mongoose in a Node.js app. Create schemas and models, connect to the database, and use find with callbacks to retrieve documents.
Learn how to insert data in a mean stack app with Mongoose by creating new model instances, saving documents, and handling callbacks and errors.
Learn how to update existing records in Mongoose by reading data with findOne, updating in memory, and persisting changes with a subsequent database call, then close the connection.
Delete data with Mongoose using a single conditional function call. Verify deletions by querying afterward and understand its relation to find and update operations.
Explore the built-in http module for NodeJS, showing how it handles browser requests on the server side, returns responses, and requires no third-party packages.
Create a simple node server using the built-in http module, load with require, define a request handler, and start listening on a port to respond to browser requests.
Explore the Node.js response object, its headers and body, using setHeader to control content-type and status codes like 200, 204, 404, and 500.
Explore the request object in Node.js and the MEAN stack, covering its headers and the get and post methods, how browsers send requests to localhost, and how servers read headers.
Explore how to mix the fs module with the http module in Node.js, reading server files and delivering content to the browser via callbacks and proper responses.
Learn how to serve a home page with the Node.js http module by creating and serving static files, setting the content-type header, and handling file-not-found errors.
Learn how to serve multiple pages with the Node.js http module by routing requests to home, about, and contact pages, reading files dynamically, and delivering HTML content.
Explain how to handle get requests using the http module, converting query strings to objects, extracting username and password from form data, and returning appropriate responses.
Compare get and post requests to learn when data is visible in the url, what goes in the request body, and how privacy differs in http methods.
Learn how to handle post requests with the node http module by listening for the data event, buffering the body, converting it to a string, parsing it to an object.
Explore the Express framework to build modular, readable applications by separating login and other request logic, and understand get and post requests with optional MVC support.
Master the basics of express by wiring a minimal node server, managing dependencies, and handling get requests on routes like / with a simple startup function.
Explore how Express's request and response objects handle client data, including GET vs POST handling, reading body data, and sending responses or files with appropriate status and content types.
Explore how to implement get requests in an express app using form submissions, including route definitions, order dependence, and fallback cases for login flows.
Capture form data using post requests in Express, parse the request body, access req.body for login credentials, and respond to the client through the post route.
Learn how to set up an express app, create basic routes for home and contact, add simple styling and hyperlinks to navigate between pages.
Explore advanced routing in Express by organizing admin-related routes with a shared /admin prefix, using an Express router to serve dashboard, sales, and spending-requests pages.
Discover how mvc architecture divides code into model, view, and controller, where the controller manages data flow, the model stores data, the view renders it via a view engine.
Explore how the EJS view engine integrates with Express to render dynamic pages by mixing presentation logic with JavaScript, using models, conditions, loops, and partials.
Explore building an Express app with EJS as the view engine, wiring controllers, models, and views, and rendering data with loops and conditions in EJS templates.
Master mustache templating in Node.js and the MEAN stack by using mustache express as the view engine, rendering models with loops, conditions, and partials.
Explore handlebars as an express view engine, its differences from mustache, and how to render data with if, each, and partials, including setup and using model properties in templates.
Learn how to use Pug (Jade) as a view engine in Express, including tag syntax, indentation rules, variable interpolation, and conditional rendering to generate dynamic HTML.
Learn to create, read, and delete cookies with express and the cookie-parser package, and see how cookies store user details for subsequent requests.
Explore how express-session manages server-side sessions with cookies and session ids, securely encrypting secrets, storing data on the server, and supporting create, get, delete, destroy, and expiration across requests.
Explore how ajax enables asynchronous server requests to retrieve and display data from MongoDB using Angular 6 and Express, covering get, post, put, and delete operations.
Learn how to use ajax and Angular 6 to insert a new product into MongoDB via a post request, handle responses, and display success messages.
Learn how to update a product in a mean stack app using ajax and angular 6, posting new name and cost to mongodb, and displaying a successfully updated message.
Learn how to delete data in MongoDB via ajax requests in an Angular 6 app, including delete buttons, status messages, and error handling.
Become NodeJS expert in just few hours!! This course covers all the concepts in detailed with proper examples. MongoDB basics also will be covered in this course. This course requires JavaScript as pre-requisite. If you don't have JavaScript knowledge, I suggest you to checkout my other course "Web development - indepth", which covers HTML, CSS, JavaScript & jQuery.
This course shows NodeJS installation only on Windows.
This course doesn't provide any real-time project.
Become NodeJS expert in just few hours!! This course covers all the concepts in detailed with proper examples. MongoDB basics also will be covered in this course. This course requires JavaScript as pre-requisite. If you don't have JavaScript knowledge, I suggest you to checkout my other course "Web development - indepth", which covers HTML, CSS, JavaScript & jQuery.
This course shows NodeJS installation only on Windows.
Become NodeJS expert in just few hours!! This course covers all the concepts in detailed with proper examples. MongoDB basics also will be covered in this course. This course requires JavaScript as pre-requisite. If you don't have JavaScript knowledge, I suggest you to checkout my other course "Web development - indepth", which covers HTML, CSS, JavaScript & jQuery.
This course shows NodeJS installation only on Windows.
This course is offered by Web Academy by Harsha Vardhan. Any watermark stating "Harsha Web University" is from our old branding and does not represent an academic institution. This course is for educational purposes only and is not affiliated with any university or degree-granting institution.