{"id":30054457,"url":"https://github.com/rcasanovan/fakeproductsapi","last_synced_at":"2026-02-12T19:33:34.415Z","repository":{"id":308191095,"uuid":"1031943334","full_name":"rcasanovan/fakeProductsAPI","owner":"rcasanovan","description":"A fake REST API for testing and development purposes.","archived":false,"fork":false,"pushed_at":"2025-08-10T16:27:24.000Z","size":951,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-20T14:15:05.399Z","etag":null,"topics":["api","restapi","typicode"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rcasanovan.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,"zenodo":null}},"created_at":"2025-08-04T15:06:27.000Z","updated_at":"2025-08-10T16:31:27.000Z","dependencies_parsed_at":"2025-08-04T19:41:49.278Z","dependency_job_id":null,"html_url":"https://github.com/rcasanovan/fakeProductsAPI","commit_stats":null,"previous_names":["rcasanovan/fakeproductsapi"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rcasanovan/fakeProductsAPI","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rcasanovan%2FfakeProductsAPI","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rcasanovan%2FfakeProductsAPI/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rcasanovan%2FfakeProductsAPI/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rcasanovan%2FfakeProductsAPI/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rcasanovan","download_url":"https://codeload.github.com/rcasanovan/fakeProductsAPI/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rcasanovan%2FfakeProductsAPI/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29378819,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-12T19:05:20.189Z","status":"ssl_error","status_checked_at":"2026-02-12T19:01:44.216Z","response_time":55,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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","restapi","typicode"],"created_at":"2025-08-07T20:34:54.292Z","updated_at":"2026-02-12T19:33:34.399Z","avatar_url":"https://github.com/rcasanovan.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Fake Products API\n\nA fake REST API for testing and development purposes, powered by [my-json-server.typicode.com](https://my-json-server.typicode.com).\n\n## How It Works\n\nThis repository uses [my-json-server.typicode.com](https://my-json-server.typicode.com) to instantly create a fake REST API from the `db.json` file. No server setup required!\n\n### API Endpoints\n\nOnce the repository is pushed to GitHub, you can access the API at:\n\n- **Base URL**: `https://my-json-server.typicode.com/rcasanovan/fakeProductsAPI`\n- **All Products**: `https://my-json-server.typicode.com/rcasanovan/fakeProductsAPI/products`\n- **Single Product**: `https://my-json-server.typicode.com/rcasanovan/fakeProductsAPI/products/{id}`\n\n### Available Endpoints\n\n| Method | Endpoint | Description |\n|--------|----------|-------------|\n| GET | `/products` | Get all products |\n| GET | `/products/{id}` | Get a specific product by ID |\n| GET | `/products?type={type}` | Filter products by type |\n\n### Product Types\n\nThe API includes products in the following categories:\n- **food**: Sandwiches, wraps, salads, pizza, etc.\n- **drink**: Coffee, juice, soft drinks, energy drinks, etc.\n- **dessert**: Chocolate bars, muffins, yogurt, cookies, etc.\n- **snack**: Granola bars, peanuts, etc.\n- **other**: Cheese \u0026 crackers, etc.\n\n### Product Structure\n\nEach product has the following properties:\n```json\n{\n  \"id\": 1,\n  \"name\": \"Product Name\",\n  \"image\": \"https://raw.githubusercontent.com/rcasanovan/fakeProductsAPI/main/Images/image.jpg\",\n  \"price\": 7.99,\n  \"inventory\": 20,\n  \"type\": \"food\"\n}\n```\n\n## Usage Examples\n\n### Get all products\n```bash\ncurl https://my-json-server.typicode.com/rcasanovan/fakeProductsAPI/products\n```\n\n### Get a specific product\n```bash\ncurl https://my-json-server.typicode.com/rcasanovan/fakeProductsAPI/products/1\n```\n\n### Filter by type\n```bash\ncurl https://my-json-server.typicode.com/rcasanovan/fakeProductsAPI/products?type=drink\n```\n\n## About my-json-server.typicode.com\n\nThis service allows you to create instant fake REST APIs by simply:\n1. Creating a GitHub repository\n2. Adding a `db.json` file with your data\n3. Accessing your API at `https://my-json-server.typicode.com/{username}/{repo}`\n\n**Note**: Changes are faked and not persisted, requests are cached for 1 minute, and all servers are public.\n\n## Repository Structure\n\n```\nfakeProductsAPI/\n├── db.json          # Main data file with products\n├── Images/          # Product images\n└── README.md        # This file\n```\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frcasanovan%2Ffakeproductsapi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frcasanovan%2Ffakeproductsapi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frcasanovan%2Ffakeproductsapi/lists"}