2
1
mirror of https://github.com/Thream/socketio-jwt.git synced 2024-07-21 09:38:31 +02:00
socketio-jwt/example/README.md

16 lines
639 B
Markdown
Raw Normal View History

2015-11-24 01:27:18 +01:00
# Auth0 + Socket.io
This is the seed project you need to use if you're going to create a Socket.io single page app that will use Auth0.
## Running the example
2015-11-26 00:45:52 +01:00
First, you need to put your `AUTH0_DOMAIN` (example.auth0.com), your `AUTH0_CLIENT_ID` and your `AUTH0_CLIENT_SECRET` on the `auth0-variables.js` file . You can find this information in the Application Settings on your Auth0.com dashboard.
2015-11-24 01:27:18 +01:00
In order to run the example, you need to have `node` installed.
2015-11-24 01:30:28 +01:00
1. run `npm install`
1. run `node index.js` in the directory of this project.
2015-11-24 01:27:18 +01:00
2015-11-26 00:45:52 +01:00
2015-11-24 01:27:18 +01:00
Go to [http://localhost:3001](http://localhost:3001) and you'll see the app running :).