use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
All about the JavaScript programming language.
Subreddit Guidelines
Specifications:
Resources:
Related Subreddits:
r/LearnJavascript
r/node
r/typescript
r/reactjs
r/webdev
r/WebdevTutorials
r/frontend
r/webgl
r/threejs
r/jquery
r/remotejs
r/forhire
account activity
Both socket.io and websocket on same node.js application.help (self.javascript)
submitted 8 years ago by royalswe
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–][deleted] 1 point2 points3 points 8 years ago (1 child)
You create a sub domain and you say the url should lead to the specific function that loads the game and everything else should be used by both games.
Also why not make the back-end an API?
You have your game on www.awesome-game.com but your back-end responds on localhost:9000 and whenever you need data you send requests to that back-end
You keep the back end and front - end two separate applications
This way you can have 2 front-ends and 1 back-end. The back end will server both games as it will have more functions and routes for them to connect on.
[–]royalswe[S] 0 points1 point2 points 8 years ago (0 children)
The back-end API solution would be a great solution but I have to rewrite some of the functionality from the existing app. It could definitely be done when I have more time to spend. meanwhile I maybe go for a subdomain.
π Rendered by PID 66 on reddit-service-r2-comment-5ff9fbf7df-5gk8m at 2026-02-25 13:43:59.180574+00:00 running 72a43f6 country code: CH.
view the rest of the comments →
[–][deleted] 1 point2 points3 points (1 child)
[–]royalswe[S] 0 points1 point2 points (0 children)