Prozi Posted February 11, 2022 Share Posted February 11, 2022 In case you'd want to host a game on a server where you want both static files + websockets at same process (to not overpay) In case you'd want a simple production-ready command line web-server for built dist files of angular/vuejs to have 404s fallback on index.html so your routing doesn't need hash In case you'd want a simple chat on websockets out-of-the-box Please check out this article I wrote about the library I wrote (this is a third iteration of the library so it's mature, and I'm looking for some feedback) It's called chef-js since a chef is someone who can make and serve you the food, keyword serve. The websocket plugins that are used by this library are easy to write, and I'm using this in https://www.vikingsvillage.io/game/ currently (along with few other libraries, feel free to ask if you need info which ones) https://medium.com/@jacekpietal/chef-js-simple-webserver-9520f091746d I hope someone other than me finds this useful. Or-Bit Studios 1 Quote Link to comment Share on other sites More sharing options...
FillSmith Posted March 12, 2022 Share Posted March 12, 2022 Thanks a lot dude! Was searching similar information. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.