An open API service indexing awesome lists of open source software.

https://github.com/htomsik/litechat

Simple websocket chat on go + vue
https://github.com/htomsik/litechat

golang rest-api vue website

Last synced: 8 months ago
JSON representation

Simple websocket chat on go + vue

Awesome Lists containing this project

README

          

LiteChat

Simple text chat on websockets on GO + Vue

## Required
- npm (for backend)
- Make (if you want to use build scripts)

## Usage

#### Build With Make

``` bash
# Full Build + Autostart
Make start

## Full Build
MAKE build

# Or if you want build only front/back
MAKE backendBuild
MAKE frontendBuild # REQUIRED IF WANT HOST LIKE SPA
```
#### Manual build

``` bash

## Backend
go mod tidy
go build -v ./cmd/apiServer

## Frontend
cd website && npm install && npm run build # REQUIRED IF WANT HOST LIKE SPA
```

### Startup
``` bash
./apiServer # For back
cd website && npm run dev # If you want only front
```