
Explore socket.io, a real-time bidirectional communication library for browser and server, not a WebSocket implementation, offering reliability, auto reconnect, disconnection detection, binary data, multiplexing, namespaces, and rooms.
Explore the Valpak configuration for development and production environments and how common configuration is merged into environment-specific settings. Note the dev server on port 3000 and production build output.
Explore rxjs observable, a push-based producer delivering multiple values to an observer. Compare it with promises and learn its four core parts.
Implement a stocks service in a React app using socket.io client and observables to fetch Apple, Google, and Microsoft stock values via socket events.
Identify why multiple clients see different stock values due to blocking and non blocking operations in Norges runtime, and show how the event loop handles requests.
Modify the socket.io client to join the stocks room with the join stocks room event and display Apple, Google, and Microsoft values from the livestock's event.
Explore breaking changes in socket.io 4.x, including allowEIO compatibility, immutable broadcast operators, the except method for room exclusion, and utilities like join, leave, and fetch sockets.
Migrate socket.io 4.x and react 17.x by enabling cors with origin and methods, upgrade the client to a create-react-app project, and demonstrate stock updates for Apple, Google, and Microsoft.
Build a stocks functional component with React hooks, using useState and useEffect to fetch three stock values from a stocks service and display Apple, Google, and Microsoft.
Develop a real-time online pizza order app using socket.io with a MongoDB database, linking pizzas and orders, and delivering live order status updates to connected clients.
Advance component logic with an on click order submission that inserts a new order into the pizza orders collection, then render live per-name order counts using socket.io and React hooks.
Develop a pizza order functional component with hooks that uses a socket service to fetch pizza lists, track order counts, and place new orders, rendering in a table.
Set up a MongoDB replica set, initiate it, and create a technology database with two collections, then insert five documents and run a find query with pretty formatting.
Develop a node.js and Express REST API to fetch energy questions from MongoDB and store results in Angular Rules, using Mongoose, body-parser, CORS, and Morgan.
Write data access logic for a rest api using an ECMAScript 6 class that connects to a Mongo dissembler via mortgages, with methods to fetch energy questions and insert data.
Build a React class component that fetches questions from a rest API in componentDidMount, renders five radio-question rows, submits the answers to the API, and redirects to a thank-you page.
Create an in-house dashboard using React JS, extending a copied single-page app, installing dependencies, and building a dashboard with navigation and a dashboard menu, ready to connect with socket.io client.
Connect a dashboard service to the socket.IO server with an observable and the IO namespace. Emit a get angular volts event and stream the resulting data, handling errors as needed.
Build a React class component that renders a Highcharts chart using a chart options object to visualize angular votes, fetching data from a dashboard service and subscribing to an observable.
Visualize technology votes with a Highcharts dashboard chart, wiring an observable error flow, handling subscriptions in componentDidMount and cleanup on unmount for a robust voting dashboard.
Have you ever thought of building real-time communication applications for your clients or in your organization? Are you tired of writing the same old long polling logic to get the updates from your databases? Do you want to share live updates of the data across two or more than two applications? Do you work with live stocks or tweets kind of applications?
As you know our clients or customers would like to get quick and live updates of the information like stocks, currencies, the sales data, tweets etc. Or they want to build live collaborative applications for the customers/in-house projects. This is where we can think of Real-time Communication and we can achieve that using one of the most popular library Socket.IO. Easy to learn and easy to implement.
This course is a complete hands-on course where we will take few real-time scenarios and develop several applications step-by-step. At the end of this course, you will have better understanding of Socket.IO library and you will be able use this library to build RTC applications. We will build several client application using React JS library along with RxJS Observable.
Important Note - This course now is updated from Socket.IO 2.x to 4.x along with React JS 17.x. Also, we are using React function components with hooks.