e2eChat Svelte Themes

E2echat

A lightweight real time chat application built with Go, WebSockets, and Svelte.

Welcome to e2eChat

A lightweight real time chat application built with Go, WebSockets, and Svelte.


Tech Stack

  • 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


Getting Started

1. Clone Project

git clone https://github.com/eruigu/e2eChat.git

2. Install root dependencies

npm install

3. Install frontend dependencies

cd frontend
npm install

4. Run the full app

From the project root:

npm run dev

This starts:

the Go backend on localhost:8080
the Svelte frontend with Vite

5. Run backend only

npm run backend

6. Run frontend only

npm run frontend


Project Structure

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

Top categories

Loading Svelte Themes