Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yeukfei02/wannachat
WannaChat
https://github.com/yeukfei02/wannachat
chat docker gin golang postgres
Last synced: 4 days ago
JSON representation
WannaChat
- Host: GitHub
- URL: https://github.com/yeukfei02/wannachat
- Owner: yeukfei02
- License: mit
- Created: 2018-10-15T12:25:19.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2023-12-18T22:45:33.000Z (11 months ago)
- Last Synced: 2024-06-21T13:10:41.394Z (5 months ago)
- Topics: chat, docker, gin, golang, postgres
- Language: Go
- Homepage:
- Size: 13.2 MB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE.md
Awesome Lists containing this project
README
# WannaChat
WannaChat
documentation:
## Requirement
- install go
## Testing and run
```zsh
// install deps
$ go mod tidy// use go start server
$ go run main.go// use air start server
$ airopen localhost:8080
// run test case
$ cd src/test
$ go test -v// format code
$ go fmt
```## Docker
```zsh
// build images and start container in one line
docker-compose up -d --build// go inside container
docker exec -it /bin/bash// check container logs
docker logs// remove and stop container
docker-compose down
```open localhost:8080
## Contributing
Please refer to [CONTRIBUTING.md](https://github.com/yeukfei02/WannaChat/blob/master/CONTRIBUTING.md)