uzen
v1.0.3
Published
General-purpose GraphQL subscription server library
Downloads
167
Maintainers
Readme
Node uWebSocket.js with Yoga for Subscriptions
Overview
This is a Node.js server built with uWebSocket.js and Yoga for handling real-time subscriptions with low latency. It provides efficient GraphQL subscriptions, ensuring low-latency communication.
Features
- Real-time GraphQL subscriptions using Yoga.
- uWebSocket.js for low-latency communication.
- JWT-based authentication for secure access.
- Written in TypeScript for type safety.
Requirements
- Node.js
- Redis (for pub-sub, if applicable)
Setup
- Clone the repository.
- Install dependencies:
npm install
- Configure environment variables.
- Start the server:
npm run start
Usage
- Use a GraphQL client to connect and subscribe to events.
- JWT token required for authentication.
License
This project is private.