Skip to content

sivakanth1/stream_token_server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Stream Token Server

A simple Express.js server to generate Stream chat tokens securely.

Setup

  1. Create .env from the example:

    cp .env.example .env
    
  2. Install dependencies:

    npm install
    
  3. Start the server:

    npm start
    

Endpoint

POST /get-stream-token

Headers:

  • Authorization: Bearer my_super_secret_key
  • Content-Type: application/json

Body:

{ "uid": "your-user-id" }

About

Server from stream used in my SynerSched

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors