
Explore Node.js and MongoDB basics for web development, covering JavaScript usage, Express examples, fundamentals, and scaling and synchronous patterns through hands-on workshops.
Begin with the course and author overview, learning the prerequisites and setup for nodejs and mongodb, including using a plain code editor, terminal access, and npm.
Explore why server-side javascript powers Node.js with V8, nonblocking I/O, and a single-thread event loop, enabling code reuse across browser and server and a rich npm ecosystem.
Compare blocking and non-blocking I/O, showing how Node's event loop uses asynchronous tasks and callbacks to handle multiple requests on a single thread, with cluster and PM2 for scaling.
Integrate systems via RESTful or SOAP APIs and connect databases with drivers and libraries, building a Node.js API. Explore server-side rendering versus single-page apps and template engines Jade and Handlebars.
Explore Node.js fundamentals and key differences between browser JavaScript and the non-browser environment, including global objects and emerging features, setting up for deeper topics in the next segment.
Explore the Node.js global object, including global scope, require, and the process object, and learn how environmental variables, command line arguments, exit codes, and child_process enable nonblocking server-side JavaScript.
Explore the node.js REPL shell to evaluate JavaScript, inspect global process, and run quick expressions; load modules, test regular expressions, and learn script versus dash flags for inline code.
Explore how npm enables server-side JavaScript with Node.js by leveraging open source modules, and understand core data types like arrays and strings as foundations for server programming.
Explore npm, the node package manager, a command line tool with a website and registries, and learn how local installs go into node_modules while globals supply command line tools.
Define the right npm versioning strategy by using exact versions instead of latest, distinguish global versus local installs, and explain how to manage dependencies with package.json, save, and save-dev.
Learn to scaffold a node project with npm, create and edit package.json, install express into node_modules, and manage dev dependencies like lodash and mocha.
Learn how to publish node modules with npm, use private registries, and manage local and global dependencies with commands like npm ls, npm search, and npm uninstall.
Build practical rest api servers with node's http core module to serve data for single-page apps, and use learn you node to test and deepen server skills.
Explore the http object as the core of node servers and clients, used by frameworks like Express and Loopback, via createServer, listen, and a request handler.
Build a small node.js http static server that serves index.html for folders, resolves requests from the current working directory, and uses a command-line port with a 3000 fallback.
Start learning node by hands-on problems in the Learn You Node workshop, install the tool, solve numbered tasks, run tests to verify your solutions, and iterate.
Learn to create, delete, read, and update data in MongoDB using the mongo shell and the native driver, as you build reliable NoSQL storage for Node.js backends.
Explore the NoSQL landscape with MongoDB, learn CAP theorem basics, understand document stores and collections, and perform basic CRUD operations via the mongo shell and JavaScript.
Explore the MongoDB native Node.js driver to connect to local or remote databases, perform insert, update, remove, and find using callbacks, and compare with Mongoose.
Develop a two-endpoint restful API using the core http module with Node and MongoDB, and lay a strong foundation for building restfully scalable services.
Build a restful API with Node.js and the native MongoDB driver, shown inside message board rest API folder, using npm install, nodemon for updates, and a proc file for deployment.
Demonstrate a Node.js and MongoDB REST API demo 3, building a server inside the client with asynchronous non-blocking I/O, error handling, and REST endpoints for get and post /messages.
Explore a Node.js and MongoDB rest API demo: choose true for guaranteed database responses, handling errors or success, and returning the created object in the API reply.
There are the slides for the entire course. DO NOT EXPECT AUDIO IN THIS LECTURE. This lecture is about slides. It's not a video! Download slides and open next to your videos for the next lectures.
These slides are slightly updated version of the ones you see in the videos. If you want the original slides from the video, you can find them in the supplementary material to this lecture.
Each lecture will be followed by a quiz. You can see an example of such quiz after this "lecture".
Follow the manual to install these programs:
In this lecture, Azat covers these topics:
PS: If you have trouble hearing, try this link https://www.youtube.com/watch?v=JPdTOJXG-hQ and let Azat know in the discussion thread which one is better.
UPDATE: We transcribed the video. The text is in the Node PDF in the supplementary materials.
In this lecture we continue with JavaScript fundamentals.
In this lecture we continue with JavaScript fundamentals.
In this lecture, you'll find the following topics:
The goal of this exercise is to show you how importing and exporting modules work in Node.js.
In this lecture you'll find the following topics:
Explore core modules 2 and tools for building a service from the command line, learn server debugging, and compare two installation modes for node projects.
In this lecture you'll find the following topics:
Learn Node demo guides you through installing Node globally, writing a hello world program, and running it to complete workshop tasks.
The goal of this exercise is to learn basics of Node.js in a fun interactive way by using NodeSchool.io-style workshops.
In this lecture, you'll find the following topics:
Create a new folder and a node http server using require to load the http module, implement a request handler, set the port from environment, and respond with hello world.
Deploy a hello world app to Heroku by creating a Procfile and a local git repository, adding a Heroku remote, and pushing to deploy and view logs in the browser.
The goal is to build Hello World and deploy it to Heroku.
Learn about streams in Node.js.
Demonstrates running and testing a chat rest api server with a memory store, showing a simple hello world response, server startup, and debug messages through terminal commands.
The goal is to build a Chat REST API server for the chat application and to test it with CURL and/or web UI.
The UI/browser app for the Chat is in this folder: https://github.com/azat-co/rpjs/tree/master/backbone.
The goal is to learn basics of functional programming using an automated workshop.
This lecture has the following content:
In this lecture, you'll find the following topics:
The goal is to get familiar with MongoDB shell.
In this lecture, you'll find the following topics:
The goal is to build the Chat REST API server with MongoDB store using native MongoDB driver and core http module. Then deploy it to Heroku using MongoHQ add-on.
Explore nodejs and mongodb basics through a practical q&a and discussions session, focusing on defining functions with parameters, libraries, callbacks, and resolving common library issues.
In this lecture, you'll find the following topics:
In this lecture, you'll find the following topics:
Explore the express.js stack II by understanding how template controllers, models, and routes drive a lightweight model–view–controller pattern, with SQL and MongoDB as data stores.
Explore a simple Express.js hello world demo by setting up a new folder, importing core modules, handling a callback response, and starting the server.
The goal is to refactor Hello World with core http into Express.js app.
The is to refactor your Chat REST API server with core http module into Express.js app.
Explore deploying a Node.js backend in production, covering deployment workflows, version control, security considerations, and infrastructure choices for startups to scale reliably.
Interested in Node.js, but don't know where to start and how to find time to learn it properly? Would you prefer to learn in a way that is more interesting than reading books or watching boring screencast videos? Confused about how the MEAN stack pieces of MongoDB, Expressjs, Angularjs and Nodejs fit together? How it's even possible to run JavaScript outside of the browser?
Years ago, we were in the same boat, but we took the long route of learning from source code, books, blogs and free online documentation. We have put together the best information in the simplest way to help you learn about these systems. Basically, we are helping you to take a shortcut and save time, frustration and avoid costly mistakes by using the best practices available.
This is an online version of our two-day Node Program (nodeprogram dot com). The online course has recorded lectures, lively student discussions, quizzes, exercises, workshops, tutorials in the manual and lots and lots of code examples!
BONUS: You'll get NodeProgram live recording and Advanced Node live recording!