simple-chat Svelte Themes

Simple Chat

A simple chat application to play with websockets. Made with svelte frontend and go backend.

simple-chat

A simple chat application to play with websockets. Made with svelte frontend and rust/go switchable backends.

Dependencies

Init

1. Clone the repo

git clone https://github.com/MarkelCA/simple-chat
cd simple-chat

2. Create the envs file

(From the root folder)

cp .env.example .env

Edit the .envs file with the desired parameters. You'll have to change the variables inside the <> chars. Don't change the already defined ones, like the VITE_SERVER_PORT

Frontend

(From the root folder)

npm run dev

Backend

There's a script to run the backend server.

./start-server <go|rust>

Top categories

Loading Svelte Themes