I created this to learn the WebSocket protocol, and gain experience with React, Typescript, and Elysia.
Built to be extensible, and easy to add new features down the road.
To install dependencies:
bun install
To run locally:
bun dev
This is a Typescript monorepo containing two packages:
An ephemeral chat app built with Elysia, a type-safe express-like web framework for Bun using drizzle to store and query data from a SQLite database.
Custom-built authentication that hashes passwords with bcrypt and uses JWTs for authorization.
React app built with Vite.
State management with Zustand.