npm install
npm run serve
npm run build
npm run lint
- Clone the backend https://github.com/w3champions/w3champions-statistic-service
- Add your battletag to this file https://github.com/w3champions/w3champions-statistic-service/blob/master/W3ChampionsStatisticService/Admin/Admins.cs
- Run the project (F5) in visual studio. This usually opens a browser window with blank page. Copy the url of the page (eg. https://localhost:44336/).
- Change the
BASE_URL
of ui to the backend url you just copied: https://github.com/w3champions/w3champions-ui/blob/master/public/env.js#L3 - Change
BNET_API_CLIENT_ID
to6da84149578f4566a4d0224a2264a54d
https://github.com/w3champions/w3champions-ui/blob/master/public/env.js#L8 - You should be able to login as admin.