{"id":25660985,"url":"https://github.com/rickcrz7/sports-api","last_synced_at":"2026-04-11T02:03:37.978Z","repository":{"id":228141761,"uuid":"719218598","full_name":"rickCrz7/Sports-API","owner":"rickCrz7","description":"API designed for a simple sport score tracker app with a simple admin webpage to manage data.","archived":false,"fork":false,"pushed_at":"2025-04-18T17:16:23.000Z","size":8729,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-19T06:02:51.055Z","etag":null,"topics":["api","backend-api","database","go","mysql","sports","sql","vue"],"latest_commit_sha":null,"homepage":"","language":"Go","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/rickCrz7.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":"2023-11-15T17:54:38.000Z","updated_at":"2025-04-18T17:16:27.000Z","dependencies_parsed_at":"2024-03-17T08:49:39.854Z","dependency_job_id":"8e1ca73f-dcdf-4390-b812-62985bbb91a4","html_url":"https://github.com/rickCrz7/Sports-API","commit_stats":null,"previous_names":["rickcrz7/sports-api"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rickCrz7/Sports-API","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rickCrz7%2FSports-API","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rickCrz7%2FSports-API/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rickCrz7%2FSports-API/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rickCrz7%2FSports-API/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rickCrz7","download_url":"https://codeload.github.com/rickCrz7/Sports-API/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rickCrz7%2FSports-API/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":284807785,"owners_count":27066464,"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","status":"online","status_checked_at":"2025-11-17T02:00:06.431Z","response_time":55,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["api","backend-api","database","go","mysql","sports","sql","vue"],"created_at":"2025-02-24T02:19:52.971Z","updated_at":"2025-11-17T02:01:50.331Z","avatar_url":"https://github.com/rickCrz7.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1\u003eSimple Sports Score Tracker API (Go \u0026 MySQL)\u003c/h1\u003e\nThis lightweight API and admin panel combo helps you track sports game scores. Perfect for a mobile app or personal project!\n\n\u003ch3\u003eFeatures:\u003c/h3\u003e\n\nTrack game scores for your favorite sports.\nAdmin panel for easy data management (add, update, delete games) created with Vue.\n\n\u003ch3\u003eTech Stack:\u003c/h3\u003e\n\nBuilt with Go and MySQL for a clean and efficient backend.\n\n\u003ch2\u003eGetting Started\u003c/h2\u003e\n\u003cp\u003eClone repository\u003c/p\u003e\n\u003ch2\u003eSet Up Database\u003c/h2\u003e\n\u003ch3\u003ePrerequisites\u003c/h3\u003e\n\u003cul\u003e\n\u003cli\u003eMySQL server installed and running\u003c/li\u003e\n\u003cli\u003eMySQL client tool or access to the MySQL command line\u003c/li\u003e\n\u003cli\u003eMySQL username and password\u003c/li\u003e\n\u003c/ul\u003e\n\n\u003ch4\u003eSteps\u003c/h4\u003e\n\u003ch4\u003e1. Open 4 MySQL client:\u003c/h4\u003e\n\u003cp\n\nCommand Line: Open a terminal or command prompt and type ```mysql -u your_username -p``` (replace your_username with your actual username).\u003cbr\u003e\nGraphical Client: Open your preferred MySQL client tool (e.g., MySQL Workbench). \u003c/p\u003e\n\u003ch4\u003e2. Connect to your MySQL server:\u003c/h4\u003e\n\u003cp\u003e\nEnter your password when prompted.\n\u003c/p\u003e\n\n\u003ch4\u003e3. Run the SQL script:\u003c/h4\u003e\n\u003cp\u003e\n\nCommand Line: Type the following command and press Enter: \u003cbr\u003e\n\nBash\n```\nsource path/to/data.sql\n```\n\u003cbr\u003e Replace ```path/to/data.sql``` with the actual path to the ```sports_mysql.sql``` file. \u003cbr\u003e\nGraphical Client: Use the client's \"Open file\" or \"Execute script\" option to select and run the ```sports_mysql.sql``` file. \u003c/p\u003e\n\u003ch4\u003e4. Verify the database and tables:\u003c/h4\u003e\n\u003cp\u003e\n\nType ```SHOW DATABASES;``` to check if the ```sports``` database was created successfully.\u003cbr\u003e\nType ```SHOW TABLES FROM sports;``` to view the tables created within the ```sports``` database. \u003c/p\u003e\n\u003ch3\u003eAdditional Notes\u003c/h3\u003e\n\u003cul\u003e\n\u003cli\u003eEnsure you have the necessary permissions to create databases and tables if you encounter errors.\u003c/li\u003e\n\u003cli\u003eEdit the sports_mysql.sql file before running it again to modify the database structure.\u003c/li\u003e\n\u003cli\u003eRefer to the official MySQL documentation https://www.mysql.com/ for more advanced MySQL operations.\u003c/li\u003e\n\u003c/ul\u003e\n\n\u003ch2\u003eRun backend\u003c/h2\u003e\n\u003ch3\u003ePrerequisites\u003c/h3\u003e\n  \u003cul\u003e\n    \u003cli\u003eGit installed and configured\u003c/li\u003e\n    \u003cli\u003eGo installed (Download from: \u003ca href=\"https://go.dev/doc/install\"\u003ehttps://go.dev/doc/install\u003c/a\u003e)\u003c/li\u003e\n    \u003cli\u003eCloned Sports-API repository\u003c/li\u003e\n  \u003c/ul\u003e\n\n  \u003ch4\u003eSteps\u003c/h4\u003e\n  \u003ch4\u003e1. Navigate to the project directory:\u003c/h4\u003e\n  \u003cp\u003e\n    Use `cd` command to change directories to the cloned repository location.\n  \u003c/p\u003e\n\n  \u003ch4\u003e2. Install dependencies:\u003c/h4\u003e\n  \u003cp\u003eRun `go mod download` to download required packages.\u003c/p\u003e\n\n  \u003ch4\u003e3. Build the project (optional):\u003c/h4\u003e\n  \u003cp\u003eRun `go build` to build the backend (refer to project documentation for specific commands).\u003c/p\u003e\n\n  \u003ch4\u003e4. Run the project:\u003c/h4\u003e\n    \u003cp\u003eRun `go run main.go` to run backend. \u003c/p\u003e\n\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frickcrz7%2Fsports-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frickcrz7%2Fsports-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frickcrz7%2Fsports-api/lists"}