This is the server used in our title project.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Chris Cromer b8517235db
don't check for player if RUT is empty and allow null player id with pointer
2 months ago
backend don't check for player if RUT is empty and allow null player id with pointer 2 months ago
frontend First commit 5 months ago
.env.example First commit 5 months ago
.gitignore First commit 5 months ago
LICENSE First commit 5 months ago
README.md add configuration and move license 5 months ago
docker-compose.yml update nginx 4 months ago
nginx.conf First commit 5 months ago

README.md

Alai Server

This is the server which will host the Alai game binaries, backend API that receives game data, and maybe at some point a frontend for all of that.

Authors

  • Christohper Cromer
  • Martín Araneda Acuña

License

The server is licensed under the 3-Clause BSD License.

Backend API

The backend is written in go and uses gorm to handle its database schema.

Game

The directory game should contain the binaries for Alai which will be exposed through nginx for downloading.

Configure

Before the server can be built and run, a .env file should be created based on .env.example. If the server is going to be public facing, make sure to change all the secrets and passwords to make it more secure.

Build and run

docker-compose up -d --build

Stop the server

docker-compose down