A lightweight real time chat application built with Go, WebSockets, and Svelte.
Go: Used for the backend chat server and CLI client
coder/websocket: A minimal WebSocket library for Go
SvelteKit: Used for the frontend chat interface
TypeScript: Adds type safety to the frontend
HTML/CSS, JavaScript
git clone https://github.com/eruigu/e2eChat.git
npm install
cd frontend
npm install
From the project root:
npm run dev
This starts:
the Go backend on
localhost:8080
the Svelte frontend with Vite
npm run backend
npm run frontend
e2eChat/
├── backend/
│ ├── chat.go
│ ├── client.go
│ ├── main.go
│ ├── server.go
│ ├── go.mod
│ └── go.sum
├── frontend/
│ ├── src/
│ ├── static/
│ ├── package.json
│ └── svelte.config.js
├── package.json
└── package-lock.json