This is the server used in our title project.
Go to file
2023-02-06 22:42:07 -03:00
backend permanent delete rows 2023-02-06 22:42:07 -03:00
frontend minor fixes to login 2023-02-06 22:28:38 -03:00
.gitignore ignore the test coverage results 2023-01-31 23:10:18 -03:00
docker-compose.yml change game to download in the docker compose file 2023-01-25 20:59:19 -03:00
env.example rename the env example file so it isn't hidden 2023-01-31 23:10:18 -03:00
LICENSE First commit 2022-06-29 21:26:05 -04:00
nginx.conf move the game directory to be a download directory 2023-01-25 20:51:45 -03:00
package.json Login finished 2023-01-31 23:10:19 -03:00
README.md move the game directory to be a download directory 2023-01-25 20:51:45 -03:00
yarn.lock Login finished 2023-01-31 23:10:19 -03:00

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