An open API service indexing awesome lists of open source software.

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

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