{"id":23866038,"url":"https://github.com/apfirebolt/react-games-database","last_synced_at":"2026-05-07T03:33:20.485Z","repository":{"id":270383884,"uuid":"910190448","full_name":"Apfirebolt/React-games-database","owner":"Apfirebolt","description":"A UI application in React which shows games sell related data from an API","archived":false,"fork":false,"pushed_at":"2025-01-13T22:32:29.000Z","size":464,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-21T00:44:09.757Z","etag":null,"topics":["api-integration","axios","games-api","material-ui","react","reactjs","vercel","vercel-deployment"],"latest_commit_sha":null,"homepage":"https://react-games-database.vercel.app","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Apfirebolt.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2024-12-30T17:36:24.000Z","updated_at":"2025-01-13T22:32:32.000Z","dependencies_parsed_at":"2024-12-30T19:18:29.751Z","dependency_job_id":"5e441337-de86-4ada-8fe8-3170beba32e3","html_url":"https://github.com/Apfirebolt/React-games-database","commit_stats":null,"previous_names":["apfirebolt/react-games-database"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Apfirebolt%2FReact-games-database","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Apfirebolt%2FReact-games-database/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Apfirebolt%2FReact-games-database/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Apfirebolt%2FReact-games-database/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Apfirebolt","download_url":"https://codeload.github.com/Apfirebolt/React-games-database/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240183766,"owners_count":19761440,"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":["api-integration","axios","games-api","material-ui","react","reactjs","vercel","vercel-deployment"],"created_at":"2025-01-03T09:35:20.209Z","updated_at":"2026-05-07T03:33:20.473Z","avatar_url":"https://github.com/Apfirebolt.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n![React](https://img.shields.io/badge/React-20232A?style=for-the-badge\u0026logo=react\u0026logoColor=61DAFB)\n![Vite](https://img.shields.io/badge/Vite-646CFF?style=for-the-badge\u0026logo=vite\u0026logoColor=white)\n![Material UI](https://img.shields.io/badge/Material--UI-0081CB?style=for-the-badge\u0026logo=material-ui\u0026logoColor=white)\n![Axios](https://img.shields.io/badge/Axios-5A29E4?style=for-the-badge\u0026logo=axios\u0026logoColor=white)\n\n# React Database Application for Games\n\n## Introduction\n\nThis project is a simple React application that serves as a database for games. It allows users to view game entries from the API https://softgenie.org/api/games. The application is built using Vite for fast development and optimized build processes. It uses Material UI for beautiful styled components following Material design patterns.\n\nThe project is deployed here https://react-games-database.vercel.app for the time being.\n\n## Features\n\n- View a list of games\n- Material UI is used for UI components\n- Responsive design for mobile and desktop\n\n## Technologies Used\n\n- **React**: A JavaScript library for building user interfaces\n- **Vite**: A build tool that provides a fast development environment\n- **Material UI**: For styling components\n- **Axios**: For making HTTP requests to a backend API\n\n## Prerequisites\n\nBefore you begin, ensure you have met the following requirements:\n\n- You have installed Node.js and npm.\n- You have a basic understanding of JavaScript and React.\n\n## Installation\n\nTo install the project, follow these steps:\n\n1. Clone the repository:\n\n    ```sh\n    git clone https://github.com/your-username/react_games_database.git\n    cd react_games_database\n    ```\n\n2. Install the dependencies:\n\n    ```sh\n    npm install\n    ```\n\n3. Start the development server:\n\n    ```sh\n    npm run dev\n    ```\n\n## Usage\n\nTo use the application, follow these steps:\n\n1. Open your browser and navigate to `http://localhost:3000`.\n2. Browse the list of games.\n\n## Screenshots\n\nThis is the games list page\n\n![Screenshot](/screenshots/1.jpeg)\n\nScreenshot of the image modal\n\n![Screenshot](/screenshots/2.jpeg)\n\n## Project Structure\n\nAfter creating the project, your directory structure should look like this:\n\n```\nreact_games_database/\n├── node_modules/\n│   ├── screenshots/\n├── public/\n│   ├── favicon.ico\n│   └── index.html\n├── src/\n│   ├── assets/\n│   ├── components/\n|   ├── screens/\n│   ├── App.css\n│   ├── App.jsx\n│   ├── index.css\n│   └── main.jsx\n├── .gitignore\n├── index.html\n├── package.json\n├── README.md\n└── vite.config.js\n```\n\n## Setting up tests\n\nInstalling the necessary packages.\n\n```\nnpm install -D vitest @testing-library/react @testing-library/jest-dom jsdom\n```\n\nCreate a file named vitest.setup.js at the root of the project\n\n```Javascript\n// vitest.setup.js\nimport '@testing-library/jest-dom';\n```\n\nAdd test configuration to the vite config file\n\n\n```Javascript\nimport { defineConfig } from 'vite'\nimport react from '@vitejs/plugin-react'\n\n// https://vite.dev/config/\nexport default defineConfig({\n  plugins: [react()],\n  server: {\n    port: 3000\n  },\n  test: {\n    // 1. Use jsdom for component rendering\n    environment: 'jsdom',\n    setupFiles: './vitest.setup.js',\n    globals: true,\n  },\n})\n```\n\n## Available Scripts\n\nIn the project directory, you can run:\n\n- `npm run dev`: Starts the development server.\n- `npm run build`: Bundles the app into static files for production.\n- `npm run preview`: Serves the production build locally.\n\n## Contributing\n\nContributions are always welcome! Please follow these steps to contribute:\n\n1. Fork the repository.\n2. Create a new branch (`git checkout -b feature/your-feature`).\n3. Make your changes.\n4. Commit your changes (`git commit -m 'Add some feature'`).\n5. Push to the branch (`git push origin feature/your-feature`).\n6. Open a pull request.\n\n## License\n\nThis project is licensed under the MIT License. See the [LICENSE](LICENSE) file for more information.\n\n## Learn More\n\nTo learn more about Vite and React, check out the following resources:\n\n- [Vite Documentation](https://vitejs.dev/guide/)\n- [React Documentation](https://reactjs.org/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapfirebolt%2Freact-games-database","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fapfirebolt%2Freact-games-database","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapfirebolt%2Freact-games-database/lists"}