https://github.com/cccaaannn/zup-message-service
Message service for zup application.
https://github.com/cccaaannn/zup-message-service
Last synced: 3 months ago
JSON representation
Message service for zup application.
- Host: GitHub
- URL: https://github.com/cccaaannn/zup-message-service
- Owner: cccaaannn
- License: mit
- Created: 2022-07-13T18:09:38.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2022-12-25T15:11:45.000Z (over 2 years ago)
- Last Synced: 2025-01-21T12:13:20.693Z (5 months ago)
- Language: Go
- Homepage:
- Size: 123 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# zup-message-service
### Message service for zup application.
---
  [](https://github.com/cccaaannn/zup-message-service/blob/master/LICENSE)### zup is a messaging application, built by microservice architecture.
### Related repos
- [Frontend](https://github.com/cccaaannn/zup-frontend)
- [User service](https://github.com/cccaaannn/zup-user-service)
- [Message service](https://github.com/cccaaannn/zup-message-service) (This project)
- [K8s configurations](https://github.com/cccaaannn/zup-k8s)
### Configurations
1. Add a `.env` file at the root of the project.
2. Fill it up with using example file. `doc/.env-template`
## Running with Docker
1. Build
```shell
docker build -t cccaaannn/zup-message-service:latest .
```2. Run
```shell
docker run -d --name zup-message-service -p 8081:8081 cccaaannn/zup-message-service:latest
```## Running Native
1. Build
```shell
go mod download
go build -o zup-message-service
```2. Run
```shell
go run zup-message-service
```