https://github.com/eujuliu/server-sent-events
A Server Sent Events Backend for my Task Scheduler, this app have the responsibility of receive events via Queue and send to the client.
https://github.com/eujuliu/server-sent-events
docker gin-gonic golang hacktoberfest hacktoberfest-accepted personal-project redis testing
Last synced: about 2 months ago
JSON representation
A Server Sent Events Backend for my Task Scheduler, this app have the responsibility of receive events via Queue and send to the client.
- Host: GitHub
- URL: https://github.com/eujuliu/server-sent-events
- Owner: eujuliu
- License: gpl-2.0
- Created: 2025-09-18T00:05:08.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2025-11-10T15:12:16.000Z (8 months ago)
- Last Synced: 2025-11-10T17:15:39.275Z (8 months ago)
- Topics: docker, gin-gonic, golang, hacktoberfest, hacktoberfest-accepted, personal-project, redis, testing
- Language: Go
- Homepage:
- Size: 72.3 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SSE Service
A Server-Sent Events (SSE) service that receives events via a queue and broadcasts them to connected clients.
Have a question?
ยท
Request Feature
## Technologies
This project was built using the `Go` programming language. It utilizes `Docker` and `Docker Compose` for containerization and development environments. For code quality, `golangci-lint` is used for linting and formatting. Development is facilitated by `air` for hot reloading. Testing is handled with Go's built-in testing framework, and additional tools like `pre-commit` for hooks.
## Getting Started
### Prerequisites
For running this project, you will need the following:
- [Go](https://golang.org/dl/)
- [Docker](https://www.docker.com/)
- [Docker Compose](https://docs.docker.com/compose/)
- [GNU Make](https://www.gnu.org/software/make/) (usually pre-installed on Linux)
And you need to download the project to your computer.
### Installation
After fulfilling all requirements, you need to install the dependencies. If using Go modules, run:
```bash
go mod download
```
### Usage
To use the project, you can run the following commands using the provided Makefile:
- To build the project:
```bash
make build
```
- To run in development mode with hot reloading:
```bash
make dev
```
- To run the built binary:
```bash
make run
```
- To run tests:
```bash
make test
```
- For development with Docker Compose watching:
```bash
make watch
```
## Contributing
If you'd like to contribute to this project, please follow these steps:
1. Fork this repository.
2. Create a branch: `git checkout -b feat/your-feature`.
3. Make your changes and commit them: `git commit -m 'Add some feature'`.
4. Push to the original branch: `git push origin feat/your-feature`.
5. Create a pull request.
## Author
Julio Martins
Made by Julio Martins ๐๐ฝ Contact me!
[](https://www.linkedin.com/in/ojuliomartins/)