Skip to content

This repository shows an example of a server which uses jwt-based authentication over express.io connections

Notifications You must be signed in to change notification settings

sbhavana/express.io-jwt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

This example is forked from https://github.com/auth0/socketio-jwt/tree/master/example.

This directory contains a public sub-directory containing the index.html and two server files. The expressIoServer.js contains example of server code which uses express.io with jwt based authentication. The socketIoServer.js contains example of server code which uses socket.io with jwt based authentication.

To see express.io based server in action, run 'node expressIoServer.js'. Else, to see socket.io based server in action, run 'socketIoServer.js'.

Once the server is up and running, open a browser window and direct it to http://localhost:9000.

About

This repository shows an example of a server which uses jwt-based authentication over express.io connections

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published