Tuesday, 5 November 2019

Question about creating different webpages

In my project I want to create socket IO rooms where each room is its own music player. Each room will have its own unique string code so that users who know the code can access the room. I'm a big novice at web development and node/express, so how can i create different webpages for each socket room? Kinda how youtube has a URL with a "v={uniqueId}" so that it knows to route to that specific video webpage. How do i create something like that? I know how to create routes in Express, but those require hardcoded string like "app.use("/example", function()). I've trying to do research on Google but this kind of question is hard to put as a google query.Edit: This might also reach into stuff like front end, for frontend im using React. Sorry if this is the wrong place to ask this question.

Submitted November 06, 2019 at 06:17AM by smurf1194

No comments:

Post a Comment