https://github.com/vou-realtimegames-marketing/server
Event-driven microservices for VOU application
https://github.com/vou-realtimegames-marketing/server
event-driven-architecture golang grpc microservices postgresql protobuf rabbitmq sqlc
Last synced: about 1 month ago
JSON representation
Event-driven microservices for VOU application
- Host: GitHub
- URL: https://github.com/vou-realtimegames-marketing/server
- Owner: VOU-realtimegames-marketing
- Created: 2024-11-21T07:45:32.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-01-15T19:07:07.000Z (over 1 year ago)
- Last Synced: 2025-03-15T20:15:01.277Z (about 1 year ago)
- Topics: event-driven-architecture, golang, grpc, microservices, postgresql, protobuf, rabbitmq, sqlc
- Language: Go
- Homepage:
- Size: 475 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Overview
VOU Microservices
## Architecture

## Engine Requirements
- Linux / MacOS
- Docker
## Getting Started
### Automatic startup
- copy "cmd/quiz/config/app.env.example.txt" and change to "cmd/quiz/config/app.env"
- `docker compose up --build`
### Manual
Follow these steps to setup the development server:
- `make network`
- `make postgres`
- `make createdb`
- `make migrateup`
- `make rabbitmq`
To start the server:
- `make auth` (start auth microservice)
- `make counterpart` (start counterpart microservice)
- `make gateway` (start API gateway)
- `make event`
- `make quiz`
Send HTTP requests to the API gateway at `localhost:8080`, e.g.:
```bash
curl -X POST -H "Content-Type: application/json" -d '{"email": "test@example.com", "password": "password"}' http://localhost:8080/api/v1/login_user
```
- Fake all data: http://localhost:8080/api/v1/cms/fake_data
Then login with role "partner", partner@gmail.com, password 12341234.
If you want tu custom data Fake, please modify code in func FakeCmsOverview (file internal/counterpart/gapi/rpc_cms.go)