Skip to content

livekit-examples/token-server-node

Folders and files

NameName
Last commit message
Last commit date
Oct 18, 2024
Nov 19, 2024
Oct 17, 2024
Oct 17, 2024
Oct 18, 2024
Oct 17, 2024
Feb 15, 2025
Oct 17, 2024
Nov 19, 2024
Mar 10, 2025
Mar 22, 2025
Nov 1, 2024
Oct 17, 2024
Oct 17, 2024

Repository files navigation

LiveKit logo

Node Token Server

Deploy a sandbox appLiveKit DocsLiveKit CloudBlog

A basic LiveKit token server using Node + TypeScipt. For details on generating tokens, see our documentation.

Dev Setup

Clone the repository and install dependencies:

cd token-server-node
pnpm install

Set up the environment by copying .env.example to .env.local and filling in the required values:

  • LIVEKIT_URL
  • LIVEKIT_API_KEY
  • LIVEKIT_API_SECRET

You can also do this automatically using the LiveKit CLI:

lk app env

Build and run the server:

pnpm build && pnpm start