Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sclorentz/webchat
In process of redesign of the entire project...
https://github.com/sclorentz/webchat
back-end chat front-end go golang html pwa rust ts wasm website
Last synced: about 2 months ago
JSON representation
In process of redesign of the entire project...
- Host: GitHub
- URL: https://github.com/sclorentz/webchat
- Owner: SCLorentz
- License: mit
- Created: 2024-01-09T12:27:53.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-10-31T22:13:58.000Z (2 months ago)
- Last Synced: 2024-10-31T22:27:34.229Z (2 months ago)
- Topics: back-end, chat, front-end, go, golang, html, pwa, rust, ts, wasm, website
- Language: JavaScript
- Homepage:
- Size: 53.2 MB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# WebChat
I want to get experience making websites, so I decided to build a webchat to get better at frontend and backend.
Version: 6.5.1_a
## Develop by your own:
### My recomendations - Docker
If you want to develop your own version of this chat, you should get docker installed, so you don't have to worry about configure anything or make shure that this will work on your machine, is everythig already configured for you. Besides, in a virtualized environment, errors like "it works on my machine" can be avoidable. I made this to be really simple to just "enter and use" with no need for configuration.
Docker, Inc., Apache License 2.0, via Wikimedia Commons### Start the server
To start the server, use: `run`, this command will make shure that everything necessary to make this project work is being executed and is working correctly.
tmp: deno run ./src/frontend/scripts/ts/main.ts
## Bundle RS to WASM and JS
cargo build --target wasm32-unknown-unknown --release --target-dir=./src/frontend/scripts/web
*There have been some issues with 'wasm-pack', don't use it*
## Bundle TS to JS
**for now I will use js (again), cause the output file 'bundle.js' has over 76MB of size idk why**
deno run -A npm:create-vite@latest --template react-ts
deno compile --allow-read --allow-net --config tsconfig.json --output=./src/frontend/scripts/js/bundle.js ./src/frontend/scripts/ts/index.ts
- Compile all the TS files into one JS file
- Remove comments## Run the server
GOARCH=386 GOOS=linux go build main.go