{"id":20407377,"url":"https://github.com/dhavalwd/player-manager","last_synced_at":"2026-04-18T07:35:41.184Z","repository":{"id":82299522,"uuid":"187312430","full_name":"dhavalwd/player-manager","owner":"dhavalwd","description":"This is a simple app for managers to upload new players and view and delete their players.","archived":false,"fork":false,"pushed_at":"2019-05-23T21:11:22.000Z","size":1683,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-05T02:31:14.159Z","etag":null,"topics":["api","codeigniter","react"],"latest_commit_sha":null,"homepage":"","language":"HTML","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/dhavalwd.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}},"created_at":"2019-05-18T04:05:30.000Z","updated_at":"2019-05-23T21:19:11.000Z","dependencies_parsed_at":null,"dependency_job_id":"604d8157-45b5-453c-83af-8a6a858cc6d8","html_url":"https://github.com/dhavalwd/player-manager","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dhavalwd/player-manager","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dhavalwd%2Fplayer-manager","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dhavalwd%2Fplayer-manager/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dhavalwd%2Fplayer-manager/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dhavalwd%2Fplayer-manager/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dhavalwd","download_url":"https://codeload.github.com/dhavalwd/player-manager/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dhavalwd%2Fplayer-manager/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31961347,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T00:39:45.007Z","status":"online","status_checked_at":"2026-04-18T02:00:07.018Z","response_time":103,"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","codeigniter","react"],"created_at":"2024-11-15T05:23:38.825Z","updated_at":"2026-04-18T07:35:41.168Z","avatar_url":"https://github.com/dhavalwd.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Player Manager - Web App\n\nThis repository is the for an back-end and front-end sources for **Player Manager** application. This includes [API backend](/backend) built using `CodeIgniter 3` and front-end [web app](/frontend) built using `React JS`\n\nIndividual project `README.MD` files are inside specific folders with more details on implementation and other useful information. This `README` will guide you to setup this project locally.\n\n## Getting Started\n\n- To clone this repo: `git clone git@github.com:dhavalwd/player_manager.git`\n- I have used `XAMPP` to setup this project. You can move this repo inside `htdocs` once you clone it. `XAMPP` version `7.3.5 / PHP 7.3.5` for Mac.\n- This repo contains `player_manager.sql` file which you can import using `phpmyadmin`. Database name is `player_manager`\n- Once you import the database\n  - Open terminal and go to `/frontend` folder\n  - Run `npm install`\n  - then run `npm run dev` command.\n- This should start `webpack-dev-server` on `9001` port. URL: http://localhost:9001\n\n## Backend\n\nCodeIgniter API is inside `/backend` folder. Link mentioned above. Once you follow above steps and properly connect database, you should be able to hit below API endpoints.\n\n- http://localhost/player-manager/backend/api/players (GET)\n- http://localhost/player-manager/backend/api/players (POST)\n- http://localhost/player-manager/backend/api/players (DELETE)\n- http://localhost/player-manager/backend/api/players_upload (POST)\n\n### Backend Validation\n\nBackend validation is in place for all endpoints. Below are the situations when API will throw an error for `players_upload` endpoint.\n\n- Not a `json` file\n- Not a valid `json` data\n- Not expected `json` object structure\n- If no file is uploaded\n\n## Frontend\n\nOnce you install all dependencies and start the server, you should be able to hit [http://localhost:9001](http://localhost:9001).\n\n### Frontend Validation\n\nValidation is in place for Front end app. For **Upload Athlete** page, user is only allowed to select `*.json` files. App will throw an error in below situations.\n\n- Not a `json` file\n- Invalid `json` data\n- Not expected `json` object structure\n- If no file is uploaded on submit\n\n## For Testing\n\nNote: I have used `postman` to test `API` endpoints. Here is the link for [Postman Collection](https://www.getpostman.com/collections/9904727377b2f6f79b5b)\n\nNote: I have attached dummy `json` file for you to upload. [Json file](/players.json)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdhavalwd%2Fplayer-manager","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdhavalwd%2Fplayer-manager","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdhavalwd%2Fplayer-manager/lists"}