Skip to content

Pixel Tactics Match Microservice. Built with Gin and Gorilla Websocket.

License

Notifications You must be signed in to change notification settings

Pixel-Tactics/pixel-tactics-match

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pixel Tactics - Match Microservice

Go RabbitMQ

This is the match microservice of Pixel Tactics. This service focuses on handling game matches such as match invitation, heroes pickup, turn-based gameplay, etc.

Installing

First, you need to setup the environment variables. You can create .env file in the root directory to do this step. Below are the required envs:

  • USER_MICROSERVICE_URL: URL for user microservice deployment. Example: http://localhost:8080 for local development and https://users.deployment-website.com.
  • RABBITMQ_CONNECTION_STRING: Connection string for RabbitMQ in the format of amqp://USERNAME:PASSWORD@HOST:PORT/. Example: amqp://guest:guest@localhost:5672/.

After setting up the environment variables, you need to install dependencies.

go mod tidy

Ensure that the User Microservice and RabbitMQ server are active. Then, to run this service, run:

go run src/main.go

Developers

  • Meervix (Emyr298)

About

Pixel Tactics Match Microservice. Built with Gin and Gorilla Websocket.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published