{"id":28496257,"url":"https://github.com/csy-szeyui/tennis-datavis","last_synced_at":"2026-05-04T08:31:47.543Z","repository":{"id":297521979,"uuid":"996355983","full_name":"csy-szeyui/tennis-datavis","owner":"csy-szeyui","description":"Web Application for Visualizing Tennis Data (BSc Computer Science Final-Year Project)","archived":false,"fork":false,"pushed_at":"2025-06-05T23:11:57.000Z","size":1647,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-06-05T23:31:04.474Z","etag":null,"topics":["postgresql","python-flask","reactjs"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/csy-szeyui.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-06-04T20:42:01.000Z","updated_at":"2025-06-05T23:11:58.000Z","dependencies_parsed_at":"2025-06-05T23:41:23.506Z","dependency_job_id":null,"html_url":"https://github.com/csy-szeyui/tennis-datavis","commit_stats":null,"previous_names":["csy-szeyui/tennis-datavis"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/csy-szeyui/tennis-datavis","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/csy-szeyui%2Ftennis-datavis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/csy-szeyui%2Ftennis-datavis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/csy-szeyui%2Ftennis-datavis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/csy-szeyui%2Ftennis-datavis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/csy-szeyui","download_url":"https://codeload.github.com/csy-szeyui/tennis-datavis/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/csy-szeyui%2Ftennis-datavis/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263165669,"owners_count":23423990,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["postgresql","python-flask","reactjs"],"created_at":"2025-06-08T12:06:59.189Z","updated_at":"2026-05-04T08:31:42.523Z","avatar_url":"https://github.com/csy-szeyui.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# tennis-datavis\n\nWeb Application for Visualizing Tennis Data (BSc Computer Science Final-Year Project)\n\nReact.js Frontend (Vite buildtool, Redux state management, React Router routing)\n\nPython Backend (Flask framework)\n\nPostgreSQL database\n\n9/4/2025\n\n# Citations\n\n- Icon used in frontend web application: Flaticon.com\n\n- Datasets:\n\n1. ATP Tennis Rankings, Results, and Stats dataset from Jeff Sackmann / Tennis Abstract (https://github.com/JeffSackmann/tennis_atp)\n\n   The data used in the database is excerpted from the original dataset.\n\n2. One-handed Backhand Player Rankings from Tennis Abstract (https://tennisabstract.com/reports/oneHandBackhandRankings.html)\n3. ATP Surface Speed Ratings from Tennis Abstract (https://tennisabstract.com/reports/atp_surface_speed.html)\n\n# Database Setup\n\n1. With psql, run\n\n   `psql -U username -d database_name -f /path/to/tennis.sql`\n\n2. Modify dbname, user, password of psycopg2.connect in pages\\api.py file according to your own setup\n\n# How to Run Web Application\n\n1. Run pages\\api.py file to run backend code\n2. Run npm run dev in terminal for frontend application\n\n- Backend can be accessed at http://localhost:5000/\n- Frontend can be accessed at http://localhost:5173/\n- Database SQL file: tennis.sql\n\n# React + Vite\n\nThis template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.\n\nCurrently, two official plugins are available:\n\n- [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/README.md) uses [Babel](https://babeljs.io/) for Fast Refresh\n- [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react-swc) uses [SWC](https://swc.rs/) for Fast Refresh\n\nChan Sze Yui_57140032_24CS118_Web Application for Visualizing Tennis Data\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcsy-szeyui%2Ftennis-datavis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcsy-szeyui%2Ftennis-datavis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcsy-szeyui%2Ftennis-datavis/lists"}