Example with express-session
This example shows how to share a session context between Express and Socket.IO:
Please read the related guide: https://socket.io/how-to/use-with-express-session
$ npm install
$ npm start
And point your browser to http://localhost:3000
. Optionally, specify a port by supplying the PORT
env variable.