{"id":26367484,"url":"https://github.com/rahulrmcoder/indian-cricket-players-stats","last_synced_at":"2025-03-16T21:17:20.986Z","repository":{"id":273041702,"uuid":"918544314","full_name":"RahulRmCoder/Indian-Cricket-Players-Stats","owner":"RahulRmCoder","description":"A simple web application built with Node.js and Express.js to display cricket player statistics. The app allows users to search for a player's stats and view detailed information, such as matches played, runs scored, batting averages, and trophies won.","archived":false,"fork":false,"pushed_at":"2025-01-18T07:53:10.000Z","size":0,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-18T08:32:20.876Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/RahulRmCoder.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2025-01-18T07:46:33.000Z","updated_at":"2025-01-18T07:53:12.000Z","dependencies_parsed_at":"2025-01-18T08:32:29.244Z","dependency_job_id":"2ac31a01-30ec-489b-992f-35a1203023db","html_url":"https://github.com/RahulRmCoder/Indian-Cricket-Players-Stats","commit_stats":null,"previous_names":["rahulrmcoder/indian-cricket-players-stats"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RahulRmCoder%2FIndian-Cricket-Players-Stats","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RahulRmCoder%2FIndian-Cricket-Players-Stats/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RahulRmCoder%2FIndian-Cricket-Players-Stats/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RahulRmCoder%2FIndian-Cricket-Players-Stats/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RahulRmCoder","download_url":"https://codeload.github.com/RahulRmCoder/Indian-Cricket-Players-Stats/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243933454,"owners_count":20370988,"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":[],"created_at":"2025-03-16T21:17:20.589Z","updated_at":"2025-03-16T21:17:20.967Z","avatar_url":"https://github.com/RahulRmCoder.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Indian-Cricket-Players-Stats\n\nA simple web application built with Node.js and Express.js to display cricket player statistics. The app allows users to search for a player's stats and view detailed information, such as matches played, runs scored, batting averages, and trophies won.\n\n## Features\n\n- Dynamic search for cricket player statistics.\n- Displays stats such as matches, innings, runs, batting averages, and trophies.\n- Clean and simple user interface built with EJS templates.\n- Easy to add or update player data using a JSON file.\n- Serves static assets such as images and stylesheets from the `public` directory.\n\n## Technologies Used\n\n- Node.js\n- Express.js\n- EJS (Embedded JavaScript) for templating\n- JSON for storing player data\n- HTML/CSS for frontend design\n\n## Getting Started\n\n### Prerequisites\n\nMake sure you have the following installed:\n\n- [Node.js](https://nodejs.org/)\n\n### Installation\n\n1. Clone the repository:\n\n   ```bash\n   git clone https://github.com/RahulRmCoder/Indian-Cricket-Players-Stats.git\n   ```\n\n2. Navigate to the project directory:\n\n   ```bash\n   cd Indian-Cricket-Players-Stats\n   ```\n\n3. Install the dependencies:\n\n   ```bash\n   npm install\n   ```\n\n4. Start the server:\n\n   ```bash\n   node index.js\n   ```\n\n5. Open your browser and go to:\n\n   ```\n   http://localhost:3001\n   ```\n\n## Project Structure\n\n```\ncricket-player-stats/\n├── public/\n│   ├── images/        # Player images and other static assets\n│   ├── styles/       \n|       ├── main.css   # CSS for styling the app\n├── views/\n│   ├── index.ejs      # Main HTML template for the app\n├── stats.json         # JSON file containing player data\n├── index.js             # Main server file\n├── package.json       # Node.js dependencies and scripts\n└── README.md          # Project documentation\n```\n\n## Usage\n\n1. Open the app in your browser.\n2. Select or type a player's name in the input field and submit.\n3. View detailed statistics of the selected player.\n\nTo add or update player data, simply modify the `stats.json` file.\n\n## Enhancements (TODOs)\n\n- [ ] Add error handling for missing players or invalid input.\n- [ ] Generate player buttons dynamically based on `stats.json`.\n- [ ] Add player images to the stats display.\n- [ ] Improve UI/UX with better CSS styling.\n- [ ] Deploy the app using platforms like Heroku or Vercel.\n\n## License\n\nThis project is licensed under the [MIT License](LICENSE).\n\n---\n\n### Author\n\nCreated by **Rahul Rajasekharan Menon**. Feel free to reach out for any suggestions or improvements!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frahulrmcoder%2Findian-cricket-players-stats","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frahulrmcoder%2Findian-cricket-players-stats","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frahulrmcoder%2Findian-cricket-players-stats/lists"}