https://github.com/jaynightmare/chatroom
https://github.com/jaynightmare/chatroom
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/jaynightmare/chatroom
- Owner: JayNightmare
- Created: 2025-08-28T03:45:27.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2025-08-28T03:45:30.000Z (10 months ago)
- Last Synced: 2025-12-13T09:52:14.426Z (6 months ago)
- Language: TypeScript
- Size: 15.6 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ChatRoom
Real-time global chat MVP with theming and color accessibility constraints.
## Stack
- Fastify + Socket.IO (Node/TS)
- React + Vite + Tailwind + Zustand
- Prisma + SQLite (persist last 100 messages)
## Dev Quickstart
```bash
npm i -g pnpm
pnpm install
pnpm exec prisma generate --filter @chatroom/server
pnpm dev
```
Server on :4000, web on :5173.
Run tests:
```bash
pnpm test
```
## Scripts
- `pnpm dev` run both apps
- `pnpm build` build all
- `pnpm test` (placeholder)
## Theming
CSS variables per `[data-theme]` root; Tailwind consumes var names for tokens.
Contrast enforcement utilities ensure WCAG AA (>=4.5:1) for name/message text vs backgrounds.
## Roadmap
See specification in initial prompt.