Skip to content

TimTCrouch/Login

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Login

Login with Express and use that to authenticate socket.io connections. This could probably be much better and is not production ready.

Demonstrated is using mongodb with node, saving a list of users to sockets to facilitate private messaging in socket.io, etc.

The major files of interest are app.js, and in the routes folder, login.js. Most of the server-side logic is focused there. Sock.js is the main client-side logic, and

Released under MIT License:

The MIT License (MIT)

Copyright (c) 2013 Tim Crouch

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

Login with Express and use that to authenticate socket.io connections. This could probably be much better and is not production ready

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published