Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FS: Socket.io setup #65

Open
aeciorc opened this issue Jan 28, 2021 · 0 comments
Open

FS: Socket.io setup #65

aeciorc opened this issue Jan 28, 2021 · 0 comments
Assignees

Comments

@aeciorc
Copy link
Contributor

aeciorc commented Jan 28, 2021

Add socket support on the front-end and back-end s

  • Setup socket server on the backend
  • Setup client connection :should connect if the user is authed, add some layer of security would be best.
    • Tip:- Use the sockets handshake *check the .headers.cookies field)
  • Add a basic event type that logs a message on the server when a user is connected
  • We also want an object to keep track of which users are currently connected - for simplicity, you can for now just use an in-memory variable (like a dictionary or object in the back-end - not recommended for scability, but it works for this project)
@aeciorc aeciorc changed the title FS: Socket.io setuo FS: Socket.io setup Jan 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants