{"id":19109261,"url":"https://github.com/obrm/nba-playes","last_synced_at":"2025-02-22T10:57:31.896Z","repository":{"id":234460177,"uuid":"788942431","full_name":"obrm/nba-playes","owner":"obrm","description":"NBA Players is a React-based web application that leverages the BallDontLie API to display NBA player statistics and allows users to search for players, mark their favorites, and manage these preferences in a visually appealing interface.","archived":false,"fork":false,"pushed_at":"2024-04-25T09:11:12.000Z","size":353,"stargazers_count":1,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-03T03:42:11.272Z","etag":null,"topics":["axios","daisyui","lodash","react","react-icons","react-infinite-scroll-component","react-switch","react-toastify","tailwindcss","typescript","vite"],"latest_commit_sha":null,"homepage":"https://obrm-nba-players.netlify.app","language":"TypeScript","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/obrm.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}},"created_at":"2024-04-19T11:48:52.000Z","updated_at":"2024-05-15T23:10:38.000Z","dependencies_parsed_at":"2024-04-25T10:29:31.463Z","dependency_job_id":null,"html_url":"https://github.com/obrm/nba-playes","commit_stats":null,"previous_names":["obrm/nba-playes"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/obrm%2Fnba-playes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/obrm%2Fnba-playes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/obrm%2Fnba-playes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/obrm%2Fnba-playes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/obrm","download_url":"https://codeload.github.com/obrm/nba-playes/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240163601,"owners_count":19758032,"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":["axios","daisyui","lodash","react","react-icons","react-infinite-scroll-component","react-switch","react-toastify","tailwindcss","typescript","vite"],"created_at":"2024-11-09T04:19:43.356Z","updated_at":"2025-02-22T10:57:31.878Z","avatar_url":"https://github.com/obrm.png","language":"TypeScript","readme":"# NBA Players\n\nNBA Players is a React-based web application that leverages the [BallDontLie API](https://www.balldontlie.io) to display NBA player statistics and allows users to search for players, mark their favorites, and manage these preferences in a visually appealing interface. You can view the live site here: [NBA Players Live Site](https://obrm-nba-players.netlify.app).\n\n## Features\n\n- **Player Search**: Search for NBA players using the BallDontLie API.\n- **Favorite Players**: Users can mark players as favorites and manage this list.\n- **Responsive Design**: Optimized for both desktop and mobile view.\n- **Infinite Scrolling**: Load more players dynamically as you scroll.\n- **Dark Mode Toggle**: Users can switch between light and dark themes in the favorites section.\n\n## Installation\n\nTo get started with NBA Players, follow these steps:\n\n1. **Clone the Repository**\n\n   ```bash\n   git clone https://github.com/obrm/nba-playes.git\n   cd NBA Players\n   ```\n\n2. **Install Dependencies**\n\n   ```bash\n   npm install\n   ```\n\n3. **Environment Variables**\n\n   Create a `.env` file at the root of your project and add the following:\n\n   ```plaintext\n   VITE_NBA_API_KEY=your_api_key_here\n   VITE_API_URL=https://api.balldontlie.io/v1\n   ```\n\n   Replace `your_api_key_here` with your actual BallDontLie API key.\n\n4. **Run the Application**\n\n   ```bash\n   npm run dev\n   ```\n\n## Usage\n\nNavigate through the application to search for NBA players, add or remove them from your favorites, and toggle between the light and dark themes in the favorites section. Use the responsive layout to access the app on any device.\n\n## Screenshots\n\n### Main Layout Desktop\n![Main Layout Desktop](./src/assets/screenshots/main_desktop.png)\n\n### Main Dark Theme Layout Desktop\n![Main Dark Theme Layout Desktop](./src/assets/screenshots/main_dark_theme_desktop.png)\n\n### Main Layout With Search Desktop\n![Main Layout With Search Desktop](./src/assets/screenshots/search_desktop.png)\n\n### Main Layout Mobile\n![Main Layout Mobile](./src/assets/screenshots/main_screen_mobile.png)\n\n### Favorites Page Mobile\n![Favorites Page Mobile](./src/assets/screenshots/favoriets_mobile.png)\n\n### Main Layout With Search Mobile\n![Main Layout With Search Mobile](./src/assets/screenshots/search_mobile.png)\n\n\n## Technologies\n\n- **Vite**: Provides an extremely fast development environment with out-of-the-box features like Hot Module Replacement (HMR).\n- **TypeScript**: Ensures type safety, enhancing the development process by catching errors at compile time.\n- **React**: Facilitates the creation of interactive UIs.\n- **Tailwind CSS \u0026 DaisyUI**: Used for rapid UI development with a focus on design customization.\n- **Axios**: Handles API requests.\n- **Lodash**: Offers utility functions for common programming tasks.\n- **React Icons, React Infinite Scroll Component, React Switch, React Toastify**: Provide additional UI/UX enhancements.\n\n## Contributing\n\nContributions are welcome! Please fork the repository and submit a pull request with your updates.\n\n## License\n\n`NBA Players` is released under the MIT License. \n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fobrm%2Fnba-playes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fobrm%2Fnba-playes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fobrm%2Fnba-playes/lists"}