Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Thank you! I've got a SvelteKit frontend, powered by a Node.js (using Express) backend, with a MongoDB database. This is all self hosted at home.

I use websockets to do the live communication, and each game room gets a Node.js worker thread assigned to it.



Do you use raw websockets or Socket.io?


Raw websockets on the frontend, and express-ws[0] on the backend.

[0] https://www.npmjs.com/package/express-ws




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: