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
1. Clone the repository.
2. Install dependencies:
``
bash
npm install
`
3. Configure environment variables.
4. Start the server:
`
bash
npm run start
``
Usage
- Use a GraphQL client to connect and subscribe to events.
- JWT token required for authentication.
License
This project is private.