This is the server used in our title project.
Go to file
Chris Cromer 701f3b3a41
move the game directory to be a download directory
2023-01-25 20:51:45 -03:00
backend don't check for player if RUT is empty and allow null player id with pointer 2022-09-22 16:37:37 -03:00
frontend add axios to packages 2023-01-22 21:32:55 -03:00
.env.example First commit 2022-06-29 21:26:05 -04:00
.gitignore First commit 2022-06-29 21:26:05 -04:00
LICENSE First commit 2022-06-29 21:26:05 -04:00
README.md move the game directory to be a download directory 2023-01-25 20:51:45 -03:00
docker-compose.yml update docker deps 2023-01-18 22:47:19 -03:00
nginx.conf move the game directory to be a download directory 2023-01-25 20:51:45 -03:00

README.md

Alai Server

This is the server which will host the Alai site, API, and game downloads.

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 download 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