Implement socket.io into my node.js application with redis session store
- or -
Post a project like this$$
- Posted:
- Proposals: 1
- Remote
- #741787
- Expired
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.
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.
Matej M.
100% (1)Projects Completed
1
Freelancers worked with
1
Projects awarded
50%
Last project
18 Jun 2015
Slovakia
New Proposal
Login to your account and send a proposal now to get this project.
Log inClarification Board Ask a Question
-
There are no clarification messages.
We collect cookies to enable the proper functioning and security of our website, and to enhance your experience. By clicking on 'Accept All Cookies', you consent to the use of these cookies. You can change your 'Cookies Settings' at any time. For more information, please read ourCookie Policy
Cookie Settings
Accept All Cookies