This is the server used in our title project.
Go to file
2022-07-29 11:28:20 -04:00
backend change module url 2022-07-22 23:00:31 -04:00
frontend First commit 2022-06-29 21:26:05 -04:00
.env.example First commit 2022-06-29 21:26:05 -04:00
.gitignore First commit 2022-06-29 21:26:05 -04:00
docker-compose.yml update nginx 2022-07-29 11:28:20 -04:00
LICENSE First commit 2022-06-29 21:26:05 -04:00
nginx.conf First commit 2022-06-29 21:26:05 -04:00
README.md add configuration and move license 2022-07-22 23:20:43 -04:00

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