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
- Host: GitHub
- URL: https://github.com/htomsik/litechat
- Owner: Htomsik
- Created: 2024-05-28T11:49:50.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-06-29T22:18:08.000Z (about 2 years ago)
- Last Synced: 2025-01-05T22:26:29.943Z (over 1 year ago)
- Topics: golang, rest-api, vue, website
- Language: Go
- Homepage:
- Size: 122 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```