Implement socket.io into my node.js application with redis session store

  • Posted:
  • Proposals: 1
  • Remote
  • #741787
  • Expired
David B. has already sent a proposal.
  • 0

Description

Experience Level: Intermediate
General information for the business: we are developing webapps
Kind of development: Customization of existing program
Description of requirements/functionality: Only Registred users in my (autentification through passport.js) app will be able to communicate through Socket.io.
I wanna access into req.user.name inside io function.
Specific technologies required: socked.io, express.js, passport.js
OS requirements: Linux, Other
Extra notes: Hello guys,

I wanna implement into nodejs app few things...
I have done:

* passport local autentification
* passport facebook autentification
* passport twitter autentification
* passport g+ autentification
* socket.io is installed and working well (I'm able to send and receive message)

First of all I will need probably setup sessionStorage (https://www.npmjs.com/package/connect-redis) because I wanna access to req.user or req.session inside socket io functions. Then I wanna grant access to sockets only for registred users so you have to use probably this https://github.com/jfromaniello/passport.socketio and make it work together.

Thanks for interest and please let me know it is really good way to do what I want from mentioned middlewares.
My app.js attached, please take a look.

New Proposal

Create an account now and send a proposal now to get this project.

Sign up

Clarification Board Ask a Question

    There are no clarification messages.