https://github.com/scaledrone/scaledrone-express-jwt-demo
Node.js Express.js JWT Demo for Scaledrone Realtime Messaging Service
https://github.com/scaledrone/scaledrone-express-jwt-demo
Last synced: 3 months ago
JSON representation
Node.js Express.js JWT Demo for Scaledrone Realtime Messaging Service
- Host: GitHub
- URL: https://github.com/scaledrone/scaledrone-express-jwt-demo
- Owner: ScaleDrone
- Created: 2014-08-12T19:25:30.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2018-09-23T12:56:28.000Z (over 6 years ago)
- Last Synced: 2025-01-25T11:43:59.861Z (4 months ago)
- Language: JavaScript
- Homepage: https://www.scaledrone.com
- Size: 228 KB
- Stars: 3
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# [Scaledrone](https://www.scaledrone.com/) Express.js JWT authentication example
This example shows how to use JWT authentication in your project
## Running the example
Install the dependencies:
```
npm install
```Create a new channel in Scaledrone and copy the ID and secret. Then start the server:
```
CHANNEL_ID=dJLd12d91d... CHANNEL_SECRET=8LI85gAt... npm start
```Open up http://localhost:1234