Skip to content
/ elysia-ws-event Public template

An template for event-driven Elysia WebSocket server

Notifications You must be signed in to change notification settings

Kiyo5hi/elysia-ws-event

Repository files navigation

elysia-ws-event

This project is meant to be a template repository for event-driven Elysia websocket server.

To start, just:

bun dev

The server is capable to send out multiple responses to the same request if needed, it also supports a mix of sync and async responses to the same client.

You can read isHealthy/handlers.ts to learn how to create an event handler, and read handlers.ts in the top-level directory to learn how to register an event handler.

Before production use, make sure the authentication is properly implemented since this project does not make any assumption on your authentication mechanism.

About

An template for event-driven Elysia WebSocket server

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published