LOLOT is a web application that allows League of Legends players to keep track of their Hextech Chest rewards via Champion Mastery for the current season.
This web application was developed using Angular.
-
Clone this repository to a location of your choosing.
-
Inside the cloned directory, run:
npm install
- Once the npm packages have been installed, run:
npm start
- The web application will start locally on http://localhost:4200.
-
Perform Steps 1 and 2 in Steps - Mock Data.
-
Remove the following import from
app.module.ts
:
environment.production ? [] : HttpClientInMemoryWebApiModule.forRoot(InMemoryLolotService)
-
Setup the LOLOT API by following How to Set Up and Run Locally.
-
Once the LOLOT API is running, run:
npm start
- The web application will start locally on http://localhost:4200.
To run the unit tests, run:
npm test
To run the UI tests, start the application locally with mock data following How to Set Up and Run Locally. Once the web application is running on http://localhost:4200
, run:
npm run cypress:open
This will open Cypress and allow you to run the desired UI tests.
LOLOT isn’t endorsed by Riot Games and doesn’t reflect the views or opinions of Riot Games or anyone officially involved in producing or managing League of Legends. League of Legends and Riot Games are trademarks or registered trademarks of Riot Games, Inc. League of Legends © Riot Games, Inc.