Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
214 commits
Select commit Hold shift + click to select a range
88e286b
Start with setup
The-Bit-Watcher May 9, 2026
8cb373b
Finished auth.py. Finished with cognito setup
The-Bit-Watcher May 9, 2026
4b15477
Merge pull request #33 from COS301-SE-2026/main
The-Bit-Watcher May 11, 2026
6f685d1
Fixing errors after new pull from main. As there was merge conflicts.…
The-Bit-Watcher May 11, 2026
d31c107
Fixed errors, finished setup added schemas and implemented login/regi…
The-Bit-Watcher May 11, 2026
c1b989d
Made changes to auth_service added logoutupdate riot and auth scheme
The-Bit-Watcher May 11, 2026
102ad3c
Fixed logout. Add this point all endpoints for users login/logout/reg…
The-Bit-Watcher May 12, 2026
a1ec7d1
Added endpoints with mock data. Profile delete, undo delete as well a…
The-Bit-Watcher May 12, 2026
f06bc68
Start with riot_service
The-Bit-Watcher May 12, 2026
b184261
Started to implement riot_service. Still need to add the routes
The-Bit-Watcher May 12, 2026
d0c13fc
Merge pull request #44 from COS301-SE-2026/dev
The-Bit-Watcher May 13, 2026
8b1e2bb
Ran code quality checks as well as new API_Docs.md file which I start…
The-Bit-Watcher May 13, 2026
37d706d
Updated DB to be generic in making for possible migration to other games
NeoMachabaUP May 13, 2026
4c42fdf
updated test_db to make sure that summoner reference/ use case change…
NeoMachabaUP May 13, 2026
61bd8f3
Fixed issues
Life220 May 13, 2026
7c5a9ad
added cache for volumes so rebuilding consistently does not cause unn…
NeoMachabaUP May 13, 2026
02a3529
added .gitattributes
NeoMachabaUP May 13, 2026
ef29d8f
Updated models
NeoMachabaUP May 13, 2026
97cf947
ran Code Quality & Formatting checks to make sure pass locally
NeoMachabaUP May 13, 2026
16986d1
feat(UI): added UI implementation from figma designs
Chunky101 May 14, 2026
09c869c
CI/CD checks
Life220 May 17, 2026
449085d
Ingoring theoretical CVEs and updated python-jose
Life220 May 17, 2026
fbd8be5
Removing files accidentally commited
Life220 May 18, 2026
bc67e3b
Add Arcane Vi 5K wallpaper for landing carousel.
Chunky101 May 19, 2026
0426094
Add Caitlyn Arcane wallpaper for landing carousel.
Chunky101 May 19, 2026
dd8bfe5
Add Jinx Arcane wallpaper for landing carousel.
Chunky101 May 19, 2026
b3dbf7f
Add Jinx Netflix series wallpaper for landing carousel.
Chunky101 May 19, 2026
349f1db
Add Jinx Arcane PUBG wallpaper for landing carousel.
Chunky101 May 19, 2026
e765b60
Add Jinx BGMI PUBG crossover wallpaper for landing carousel.
Chunky101 May 19, 2026
eaff63a
Add Jinx graffiti wallpaper for landing carousel.
Chunky101 May 19, 2026
0cbc852
Add Jinx pink aesthetic wallpaper for landing carousel.
Chunky101 May 19, 2026
636fbf3
Add Jinx poster Arcane wallpaper for landing carousel.
Chunky101 May 19, 2026
5aebaf4
Add Jinx and Vi Arcane 5K wallpaper for landing carousel.
Chunky101 May 19, 2026
70733c6
Add League of Legends wallpaper for landing carousel.
Chunky101 May 19, 2026
3b33428
Add wide League of Legends wallpaper for landing carousel.
Chunky101 May 19, 2026
aafdcce
Add Prestige Commander wallpaper for landing carousel.
Chunky101 May 19, 2026
2865aad
Add Samira 2021 games wallpaper for landing carousel.
Chunky101 May 19, 2026
08b77cf
Add Samira wallpaper for landing carousel.
Chunky101 May 19, 2026
94f1470
Add Vi PUBG Mobile wallpaper for landing carousel.
Chunky101 May 19, 2026
d997ecd
Add shared LoL wallpaper loader for landing carousels.
Chunky101 May 19, 2026
dba2dbe
Use LoL wallpapers on the landing page carousel.
Chunky101 May 19, 2026
2124b1c
Use LoL wallpapers on the login page carousel.
Chunky101 May 19, 2026
ef3648e
Use LoL wallpapers on the register page carousel.
Chunky101 May 19, 2026
1940a1f
Add MatchDetail types for match expanded view.
Chunky101 May 19, 2026
259a892
Add mock match detail fixtures for dashboard modal.
Chunky101 May 19, 2026
d273764
Add mock fetchMatchDetail client with simulated latency.
Chunky101 May 19, 2026
50fbc0b
Add Data Dragon URL helpers for champion and item icons.
Chunky101 May 19, 2026
39433fa
Add MatchDetailModal for expanded match stats view.
Chunky101 May 19, 2026
aac955c
Wire match detail modal state and URL deep link on dashboard.
Chunky101 May 19, 2026
7712b59
Make dashboard match cards open the match detail modal.
Chunky101 May 19, 2026
16f6f18
Sonar fixes
Chunky101 May 19, 2026
468be3d
Remove build artifacts and caches from tracking
Life220 May 19, 2026
5c084ee
Add TypeScript types for the player profile dashboard view.
Chunky101 May 19, 2026
02ca23d
Add mock player profile data for dashboard profile development.
Chunky101 May 19, 2026
5cc1d14
Add radar chart component for player performance metrics.
Chunky101 May 19, 2026
405c8ed
Add profile view with stats, radar chart, and recent champions.
Chunky101 May 19, 2026
98977ef
Wire dashboard sidebar to switch between matches and profile views.
Chunky101 May 19, 2026
650874e
Manage dashboard active view state for matches and profile tabs.
Chunky101 May 19, 2026
838185b
Add hero headline and subheading to the landing page.
Chunky101 May 19, 2026
3b74e7b
Add champion splash URL helper for match history cards.
Chunky101 May 19, 2026
6d3eed6
Add mock match history data grouped by day.
Chunky101 May 19, 2026
2056a38
Improve dashboard match history with dates, paging, and standard icons.
Chunky101 May 19, 2026
6addbbb
Remove placeholder footer from match detail modal.
Chunky101 May 19, 2026
f0afa23
Merge branch 'dev' of https://github.com/COS301-SE-2026/Vantage-Point…
NeoMachabaUP May 19, 2026
c2cc691
Template seed.py for filling in fake data into db
NeoMachabaUP May 19, 2026
3e970a6
Update featured game slide types for expandable card states.
Chunky101 May 19, 2026
afbba05
Add profile featured-game asset exports from Figma.
Chunky101 May 19, 2026
0c5c4f6
Add Wild Rift cover image for profile featured card.
Chunky101 May 19, 2026
f50a896
Add Wild Rift card image for collapsed profile featured state.
Chunky101 May 19, 2026
16d47be
Add efficiency score icon for profile featured card.
Chunky101 May 19, 2026
4f3e445
Add time spent icon for profile featured card.
Chunky101 May 19, 2026
eb1141d
Champion.json form Data dragon latest version (v16.10.1)
NeoMachabaUP May 19, 2026
02d8d1d
Use local Figma assets for featured game mock profile data.
Chunky101 May 19, 2026
b3236c3
Add expandable featured game card matching Figma open and closed states.
Chunky101 May 19, 2026
58f002b
Map profile achievements to Lucide icons for badge display.
Chunky101 May 19, 2026
7a26c6e
Integrate featured game card and Lucide achievement badges in profile…
Chunky101 May 19, 2026
c215316
Fix sidebar profile avatar layout and rename Dashboard nav label to M…
Chunky101 May 19, 2026
3d7a2a5
Update match detail error copy to refer to matches instead of dashboard.
Chunky101 May 19, 2026
06f2644
seed made for data to dev off of using champion data from riot data d…
NeoMachabaUP May 19, 2026
97ab544
fixed the db testing (happens to also test dev contianters as well )
NeoMachabaUP May 19, 2026
028abcc
updated teh setup and moved seed.py in the correct location
NeoMachabaUP May 19, 2026
c63e3af
Fixed format checkl
NeoMachabaUP May 19, 2026
e855258
Updated Code Quality & Formatting
NeoMachabaUP May 19, 2026
ed26b4a
removed addition of pytest async from requirements as exists in requi…
NeoMachabaUP May 19, 2026
1c86a09
Merge pull request #54 from COS301-SE-2026/dev
The-Bit-Watcher May 19, 2026
d2d9698
removed hard coded values in docker compose and moved to .env in .dev…
NeoMachabaUP May 19, 2026
f3a514e
Merge pull request #55 from COS301-SE-2026/Backend/API-File-Setup
The-Bit-Watcher May 19, 2026
80fbcd7
Add Postgres services to the workflow
NeoMachabaUP May 19, 2026
3b1eda4
Just implemented get match_id from riot service in service
The-Bit-Watcher May 19, 2026
e4cd640
Sonar analysis fixes
NeoMachabaUP May 19, 2026
85fc4d1
Added the route for get_match_ids
The-Bit-Watcher May 19, 2026
4f55dac
Start to implement the schmes for the match details simplified
The-Bit-Watcher May 19, 2026
fa7368a
Start to implement the filter class
The-Bit-Watcher May 19, 2026
0b9bfdd
Progressed with the filtering
The-Bit-Watcher May 19, 2026
9c736cb
Finsihed filtering in the backend. Routes arre to be done next
The-Bit-Watcher May 19, 2026
c92380a
Added the route for the detailed simplified match
The-Bit-Watcher May 19, 2026
39c2e7d
chore: remove venv/ from git tracking and add to gitignore
The-Bit-Watcher May 19, 2026
47b818a
added get match detail in riot service
The-Bit-Watcher May 19, 2026
115b2dd
Added better error handling and changed so that auth_service use asyn…
The-Bit-Watcher May 19, 2026
9d45ddc
fixed the landing page to not block the background elements
Chunky101 May 20, 2026
5f580cf
Merge pull request #53 from COS301-SE-2026/backend/DB_setup
Life220 May 20, 2026
dc8230d
Fixed errors that I had
The-Bit-Watcher May 20, 2026
53fb980
Wiki yml
Life220 May 20, 2026
d38d0a0
Ran code quality checks and fixed errors that appeared
The-Bit-Watcher May 20, 2026
e9570f0
Updated docs
The-Bit-Watcher May 20, 2026
daf77e1
Added more swagger for all endpoints that did not hvae yet
The-Bit-Watcher May 20, 2026
958278b
Added swagger and changed errors in riot_services as I used the wrong…
The-Bit-Watcher May 20, 2026
3a318ed
Updated to riot service
The-Bit-Watcher May 20, 2026
cc48167
Ran code quality checks
The-Bit-Watcher May 20, 2026
500471d
Added better error handeling
The-Bit-Watcher May 20, 2026
0789c34
Merge pull request #65 from COS301-SE-2026/Backend/Riot-Service
The-Bit-Watcher May 20, 2026
f3514f0
added a list view and removed champion card
Chunky101 May 20, 2026
f81ac03
Added a few chnages to the db
The-Bit-Watcher May 20, 2026
78a87d8
migrated the user profile dropdown to the top right of the page
Chunky101 May 20, 2026
af9df01
Start to implement the profile
The-Bit-Watcher May 20, 2026
34a9e9a
Cleaned up routes as well as added profile_services implementation an…
The-Bit-Watcher May 20, 2026
a61640e
refined left panel
Chunky101 May 20, 2026
db3f1da
Started to implement the 20 mathces analytics for front end
The-Bit-Watcher May 20, 2026
1bf31ac
Ran quality code checks & implemented profile and connect to db and m…
The-Bit-Watcher May 20, 2026
73f43a7
Fixed erros adn added route for auth to help with testing in swagger
The-Bit-Watcher May 20, 2026
4126a86
added loading screen
Chunky101 May 20, 2026
2ba21c6
added the filter and sort
Chunky101 May 20, 2026
e31c909
Frontend tests
Life220 May 21, 2026
6ce3214
Skip unused for now
Life220 May 21, 2026
7ee3eeb
Ignore theoretical CVEs
Life220 May 21, 2026
2d943d2
Updated used Node version in tests
Life220 May 21, 2026
3217c8f
Removed not needed CI run
Life220 May 21, 2026
720951b
Merge pull request #60 from COS301-SE-2026/integration/scaffolding
Life220 May 21, 2026
51b7441
Doc fix
Life220 May 21, 2026
84578b8
updated the gamecard
Chunky101 May 21, 2026
4adc2c8
README updates
Life220 May 21, 2026
85a57e4
Merge branch 'dev' into UI-implementation
Chunky101 May 21, 2026
d366f9d
README updates
Life220 May 21, 2026
a2aec4f
README updates + coverage
Life220 May 21, 2026
26cc013
Merge pull request #73 from COS301-SE-2026/integration/scaffolding
Life220 May 21, 2026
9fc4827
Readme and cov updates
Life220 May 21, 2026
22adaf6
Readme updates
Life220 May 21, 2026
350cdfb
Merge pull request #75 from COS301-SE-2026/integration/scaffolding
Life220 May 21, 2026
6c9d77a
CI updates
Life220 May 21, 2026
988fdbb
Merge pull request #76 from COS301-SE-2026/integration/scaffolding
Life220 May 21, 2026
c47c85c
CI updates
Life220 May 21, 2026
78fff82
Merge branch 'dev' into Backend/Profile-User-DB
OPhelia2024 May 21, 2026
ff77d1a
Reformatted code to pass tests
OPhelia2024 May 21, 2026
41b7300
Attempt at test fail correction 2
OPhelia2024 May 21, 2026
a6e097d
Attempt 3 to get format checks to pass
OPhelia2024 May 21, 2026
6a9d71a
Ruff check fixes
OPhelia2024 May 21, 2026
c91bcd3
final commit for fixes
OPhelia2024 May 21, 2026
b228059
README updates
Life220 May 21, 2026
83f6e5e
Fixed import error
OPhelia2024 May 21, 2026
cd13c68
Added profile create and update endpoints
OPhelia2024 May 21, 2026
988cac7
Profile_schema update
OPhelia2024 May 21, 2026
d159a23
Update requirements.txt
OPhelia2024 May 21, 2026
fce3bcb
Changed seeding data
OPhelia2024 May 21, 2026
6bf5096
Merge pull request #72 from COS301-SE-2026/Backend/Profile-User-DB
OPhelia2024 May 21, 2026
5591d5c
CI updates
Life220 May 21, 2026
00e0f8b
Merge pull request #77 from COS301-SE-2026/integration/scaffolding
Life220 May 21, 2026
cdcd23d
Merge pull request #74 from COS301-SE-2026/dev
Life220 May 21, 2026
53e37f7
removed Dockerfile as it was empty and dnot being used
NeoMachabaUP May 21, 2026
feb26aa
updated readme
NeoMachabaUP May 21, 2026
26dba5b
project struct update backend/app/schema
NeoMachabaUP May 21, 2026
2468b85
Changes made
The-Bit-Watcher May 21, 2026
3d4bb36
Ran quality tests and removed few endpoints from swagger
The-Bit-Watcher May 21, 2026
0a00b50
Merge pull request #78 from COS301-SE-2026/Backend/Profile-User-DB
Life220 May 21, 2026
81dd146
READNME and CI Updates
Life220 May 22, 2026
334e6d6
Coverage scripts and badges
Life220 May 22, 2026
84ff116
Merge pull request #79 from COS301-SE-2026/integration/scaffolding
Life220 May 22, 2026
1effa51
chore: update backend coverage badge
github-actions[bot] May 22, 2026
b8b91d5
Merge pull request #80 from COS301-SE-2026/dev
Life220 May 22, 2026
2cdf512
Merge pull request #82 from COS301-SE-2026/backend/DB_setup
Life220 May 22, 2026
1e63fcd
frontend ready for demo
Chunky101 May 22, 2026
07a2f64
Merge main into UI-implementation
Chunky101 May 22, 2026
f77b184
Merge branch 'dev' into UI-implementation
Chunky101 May 22, 2026
78b1bb4
fixed vulnerabilities
Chunky101 May 22, 2026
df8ba1e
fixed CI errors
Chunky101 May 22, 2026
f8c1a8f
remove uploads
Chunky101 May 22, 2026
066bdb8
Auth tests
Life220 May 22, 2026
d5d2104
fixed sonar errors
Chunky101 May 22, 2026
15444b8
fixed ci errors
Chunky101 May 22, 2026
8126350
added brand-style-guide
Chunky101 May 22, 2026
4c1b02f
added dev setup
Chunky101 May 22, 2026
6792c50
Profile tests and System tests
Life220 May 22, 2026
a5fa251
Black fixes
Life220 May 22, 2026
f007fc6
Ruff fixes
Life220 May 22, 2026
1f8eb40
Duplicate removals and async removals
Life220 May 22, 2026
d5b9173
Format fix
Life220 May 22, 2026
956b7a3
Merge pull request #86 from COS301-SE-2026/Backend/tests
Life220 May 22, 2026
cfade99
chore: update backend coverage badge
github-actions[bot] May 22, 2026
8699bbb
Solved conflicts
Life220 May 22, 2026
e505971
Badges updated
Life220 May 22, 2026
d49401c
Added SRS Doc for demo 1
OPhelia2024 May 22, 2026
90a02bc
Conflict resolution
Life220 May 22, 2026
1bff60d
Update README.md
OPhelia2024 May 22, 2026
842e1eb
Updated package-lock.json
Life220 May 22, 2026
eb17fd5
Workflow updates
Life220 May 22, 2026
5139b6c
Weird black fix
Life220 May 22, 2026
5174338
package-lock.json
Life220 May 22, 2026
614b87a
Main.py import fix
Life220 May 22, 2026
476899c
Backend fixes + Updated Pytest
Life220 May 22, 2026
0155f52
Badges + backend fixes
Life220 May 22, 2026
cc1d2b6
Badges + main fix
Life220 May 22, 2026
f234512
Commented out failing tests
Life220 May 22, 2026
c1d2a82
badges
Life220 May 22, 2026
f455e32
Ruff lint fix
Life220 May 22, 2026
3c8a24c
Merge pull request #83 from COS301-SE-2026/UI-implementation
Life220 May 22, 2026
15324a0
chore: update backend coverage badge
github-actions[bot] May 22, 2026
248ddfc
Merge pull request #87 from COS301-SE-2026/dev
Life220 May 22, 2026
6cb6674
Readme updates
Life220 May 22, 2026
255ca2b
Merge pull request #88 from COS301-SE-2026/UI-implementation
Life220 May 22, 2026
ccbc6fd
Merge branch 'main' into dev
Life220 May 22, 2026
99c81f1
Merge pull request #89 from COS301-SE-2026/dev
Life220 May 22, 2026
cc698c8
Updated CI/CD.md
Life220 May 22, 2026
326351e
Update CICD.md with format and lint commands
Life220 May 22, 2026
e7af93a
Add Wireframes link to README
Life220 May 22, 2026
4d7c0fa
Added Architecture diagram to docs
OPhelia2024 May 22, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 9 additions & 4 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,17 @@
{
// ANCHOR - script must have LF line endings to work in the container, so make sure to configure your editor to use LF for this file. IT SHOULD NOT BE CRLF.
"name": "Vantage Point",
// dockerComposeFile tells VS Code to use Compose instead of building a single container.
// 'image' and 'dockerComposeFile' are mutually exclusive — don't use both.
// @NeoMachabaUP : i am still figuring out how this differs dockerfile to a focus on dev container, but for now we are using docker compose to build the dev container and run the app in it.

// services (app + db). A standalone Dockerfile would only give you one container.
"dockerComposeFile": "docker-compose.yml",
// dockerComposeFile tells VS Code to use Compose instead of building a single container.
"service": "app",
"workspaceFolder": "/workspaces",

// Features are pre-built install scripts that layer on top of the base image.
// Node is not included in the Python base image so we add it here.
"features": {
"ghcr.io/devcontainers/features/node:1": {
"version": "22"
Expand All @@ -23,18 +28,18 @@
"esbenp.prettier-vscode",
"dbaeumer.vscode-eslint",
// database tools; Microsoft maintained PostgreSQL extension
//"ms-ossdata.vscode-postgresql", not working currently so using alt
//"ms-ossdata.vscode-pgsql", not working currently so using alt
"ckolkman.vscode-postgres",
"cweijan.vscode-postgresql-client2", // this is a nice alternative to the Chris Kolkman one, it has a better UI and more features, recommended by @Vele189
// Misc ; WE need to better describe these extensions and why we need them in the README
"tamasfe.even-better-toml",
"ms-azuretools.vscode-docker"
]
}
},

// 8000 = FastAPI, 5173 = Vite, 5432 = Postgres (for DBeaver or the VS Code extension on the host)
// 8000 = FastAPI Backend , 5173 = Vite frontend dev server, 5432 = Postgres (for DBeaver or the VS Code extension on the host)
// @NeoMachabaUP : we are using 3000 for the frontend, but we can change this if we want to use 5173 instead. I just wanted to avoid confusion with the default Vite port.
// @NeoMachabaUP : @Vele189 could you have a look here please
"forwardPorts": [8000, 3000, 5432, 5173],
"postCreateCommand": "bash /workspaces/.devcontainer/post-create.sh",
"postStartCommand": "/bin/bash /workspaces/.devcontainer/start-services.sh"
Expand Down
17 changes: 12 additions & 5 deletions .devcontainer/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,29 +5,36 @@ services:
image: mcr.microsoft.com/devcontainers/python:3.12
volumes:
- ..:/workspaces:cached
- pip-cache:/home/vscode/.cache/pip
# persists pip download cache
- npm-cache:/home/vscode/.npm
# persists npm download cache
# Keeps the container running so you can code inside it
command: sleep infinity
environment:
# This points Python to the 'db' service below
DATABASE_URL: postgresql+asyncpg://riot_user:riot_password@db:5432/riot_db
DATABASE_URL: postgresql+asyncpg://${POSTGRES_USER}:${POSTGRES_PASSWORD}@db:5432/${POSTGRES_DB}
ports:
- "5173:5173" # Vite (frontend)
- "8000:8000" # FastAPI (backend)
- "3000:3000" # Frontend (React)
#WE Can remove 3000 if we are not using React, keeping it here for now as it is in the techstack that we use it

# The PostgreSQL Database
db:
image: postgres:15
restart: always
environment:
POSTGRES_USER: riot_user
POSTGRES_PASSWORD: riot_password
POSTGRES_DB: riot_db
POSTGRES_USER: ${POSTGRES_USER}
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
POSTGRES_DB: ${POSTGRES_DB}
# Persistent storage: data stays even if you stop the container
volumes:
- postgres_data:/var/lib/postgresql/data
ports:
- "5432:5432"

volumes:
postgres_data:
postgres_data:
pip-cache: # pip will reuse downloaded wheels instead of fetching them again
npm-cache: # npm will reuse downloaded packages instead of fetching them again
1 change: 1 addition & 0 deletions .devcontainer/post-create.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ sudo apt-get update -qq && sudo apt-get install -y postgresql-client
# Backend — install Python dependencies
cd /workspaces/backend
pip install -r requirements.txt
pip install -r requirements-dev.txt

# Frontend — install Node dependencies
cd /workspaces/frontend
Expand Down
26 changes: 13 additions & 13 deletions .devcontainer/start-services.sh
Original file line number Diff line number Diff line change
@@ -1,33 +1,33 @@
# #!/bin/bash
#!/bin/bash
set -e

# # Start frontend
# cd /workspaces/frontend
# nohup npm run dev -- --host 0.0.0.0 > /tmp/vite.log 2>&1 &
# --- Load nvm so npm and node are in the PATH ---
export NVM_DIR="/usr/local/share/nvm"
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh"

# # Start backend
# cd /workspaces/backend
# nohup uvicorn app.main:app --host 0.0.0.0 --port 8000 > /tmp/uvicorn.log 2>&1 &
# Also ensure user-installed Python packages (uvicorn) are available
export PATH="/home/vscode/.local/bin:$PATH"

# echo "Frontend and backend started."
#!/bin/bash
set -e
export CI=true

echo "=== Starting dev services ==="

# --- Frontend (Vite) ---
cd /workspaces/frontend
echo "Starting frontend..."
nohup npm run dev -- --host 0.0.0.0 > /tmp/vite.log 2>&1 &
setsid npm run dev -- --host 0.0.0.0 </dev/null > /tmp/vite.log 2>&1 &
VITE_PID=$!
echo "Vite PID: $VITE_PID"

# --- Backend (FastAPI) ---
cd /workspaces/backend
echo "Starting backend..."
nohup uvicorn app.main:app --host 0.0.0.0 --port 8000 --reload > /tmp/uvicorn.log 2>&1 &
setsid uvicorn app.main:app --host 0.0.0.0 --port 8000 --reload </dev/null > /tmp/uvicorn.log 2>&1 &
UVICORN_PID=$!
echo "Uvicorn PID: $UVICORN_PID"

echo "=== Both services launched ==="
sleep 2
echo "Frontend log: /tmp/vite.log"
echo "Backend log: /tmp/uvicorn.log"
echo "Backend log: /tmp/uvicorn.log"
head -5 /tmp/vite.log
6 changes: 6 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# .gitattributes
# Force LF line endings for shell scripts — CRLF breaks bash in Linux containers
*.sh text eol=lf
*.json text eol=lf
*.py text eol=lf
*.md text eol=lf
46 changes: 46 additions & 0 deletions .github/docs/API-Call-Documentation.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
RIOT API CALL DOCUMENTATION EXAMPLE

API URLs Example:
Mostly contain the data about which URL used when you Postman to get data back
Riot API. Will only show output on payload that is not too big.

Each of these requires a X-Riot-Token with the API Key as its value.
Example:


Player ID(Needs to be retrieved first, used different API to obtain this)
Basis: /riot/account/v1/accounts/by-riot-id/{gameName}/{tagLine}
Example: https://americas.api.riotgames.com/riot/account/v1/accounts/by-riot-id/Sn1per1/NA2
Output:
{
"puuid": "_1Zwg23PL6uCtrHwZ5r-hiswulAY8XqK0T0ni2KrmrgAg5Cbct1loAMQ4QEzkVfTeLy5O4nKeqJ-Aw",
"gameName": "Sn1per1",
"tagLine": "NA2"
}



Get Matches Played based on Player ID
Basis: /lol/match/v5/matches/{matchId}
Example: https://americas.api.riotgames.com/lol/match/v5/matches/by-puuid/_1Zwg23PL6uCtrHwZ5r-hiswulAY8XqK0T0ni2KrmrgAg5Cbct1loAMQ4QEzkVfTeLy5O4nKeqJ-Aw/ids?start=0&count=5
Output:
[
"NA1_5549204828",
"NA1_5549193077",
"NA1_5545315584",
"NA1_5545295750",
"NA1_5545261585"
]

Get Match Details at the end of match
Basis: /lol/match/v5/matches/{matchId}
Example: https://americas.api.riotgames.com/lol/match/v5/matches/NA1_5549204828?api_key=RGAPI-b567c1ba-1c25-4373-88a5-489ef5dcb5e0
Output too big to paste here.




Get match details based on Timeline
Basis: /lol/match/v5/matches/{matchId}/timeline
Example:https://americas.api.riotgames.com/lol/match/v5/matches/NA1_5549204828/timeline
Output too big to paste here
Loading
Loading