Learn how to create all the extra files and code required to build a platform to have multiple rooms.
- [Instructor] Now, the next step in the evolution…of our application is to add more rooms.…In this video, we'll set up the landing page that gives us…the option to select which room we are connected to.…Then, in the next one, we'll complete this exercise…by adding multiple rooms through file replication…and minor changes, so let's get to it.…The first thing I want you to do is get out…of your code editor and go directly inside…of your folder where you have your project.…Once you're there, go inside of the public folder…and basically, option click and drag if you're on Mac,…or copy and paste and rename the files if you're on Windows,…like so, and let's just rename this one to JavaScript.…
Perfect.…Let's close that and let's go inside of our code editor,…and then, you want to open the index…because the JavaScript file will stay the same.…It's basically not going to change,…everything is perfect there.…What I need to change inside of this index…is basically create somewhat of a welcome index file…where people are going to join all the rooms…
Released
12/5/2017- Coding the initial Express and Socket.IO server
- Coding front-end HTML
- Creating a chat with the emit function
- Setting up multiple rooms
- Coding new rooms within the namespace
- Setting up the Debug tool
- Emit cheatsheet
Share this video
Embed this video
Video: Set up multiple rooms