In this video, get an introduction to the real-time-web library Socket.io and how this could be used.
- [Instructor] Have you ever wanted to build an application…with real-time messaging…or similar real-time web applications?…Take a look at the socket.io library,…which uses an event-based approach for syncing…and transmitting data in real-time.…So go to this link, socket.io,…and once you're there,…you're actually going to see,…let me just refresh my page.…You're going to see some examples of the code…and what it actually does in your browser.…And basically socket.io is an event-based system…that actually uses events…and then subscribes to these events.…
So whenever someone,…so let's say, for example,…types a message in a chat room,…then everybody that is in that chat room…is actually noticed and updated with that information.…There are a whole bunch of demos on the website,…so if you take a look at the demo section,…you can take a look at the chat here…and actually type your name,…so in my case, manny,…and then enter,…and there's actual people in that room…and you can actually type something.…Hello.…You're live.…
Not love, but live.…
- Creating a basic data endpoint
- Routing with Express
- Adding a static route for file serving
- Basic middleware with Express
- Built-in middleware and error-handling middleware
- Debugging in an Express application
- Security best practices with Express
Skill Level Beginner
Building RESTful Web APIs with Node.js and Expresswith Emmanuel Henri1h 40m Intermediate
1. Setting Up Express
2. Getting Started
3. Routing with Express
4. Middleware with Express
5. Advanced Topics in Express
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.