Check our project wiki for more information about the system.
- To see our project as it was at the time of milestone 1, you can checkout the tag
m1
or browse the repository here. - To see our project as it was at the time of milestone 2, you can checkout the tag
m2
or browse the repository here. - To see our project as it was at the time of milestone 3, you can checkout the tag
m3
or browse the repository here.
First, you need to have installed Node.js
and npm
.
Here you can get both at once: https://nodejs.org/en/
Verify everything works by running node -v
and npm -v
.
Then go to the esports-angular
directory, which contains our Angular application, and run npm install @angular/cli -g
to install angular-cli
.
Verify by running ng -v
.
Then run npm install
to install npm dependencies.
Go to the esports-rest
directory and run: cd .. && mvn clean install && cd esports-rest && mvn cargo:run
. This
starts the Tomcat server with our REST service, let it run in the background.
Next, launch another instance of the terminal, and run ng serve
in the esports-angular
directory to start the angular-cli
development server.
curl -i -X GET http://localhost:8080/pa165/api/v2/competitions/
curl -i -X GET http://localhost:8080/pa165/api/v2/teams/
curl -i -X GET http://localhost:8080/pa165/api/v2/players/
After completing steps in Setup and Running, access http://localhost:4200
from the browser.
- You can log in as a player by using the username
player
and passwordplayer
. - You can log in as a team manager via the username
teamManager
and passwordadmin
. - You can log in as a competition manager via the username
compManager
and passwordadmin
.