{"id":19329922,"url":"https://github.com/marmelab/data-generator-retail-api","last_synced_at":"2026-05-16T04:33:46.797Z","repository":{"id":228662986,"uuid":"774600561","full_name":"marmelab/data-generator-retail-api","owner":"marmelab","description":"A REST server exposing e-commerce resources (products, customers, orders, etc) for testing purposes","archived":false,"fork":false,"pushed_at":"2024-03-21T18:05:48.000Z","size":15,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-17T02:53:24.582Z","etag":null,"topics":["api","nodejs","rest","rest-api","test"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/marmelab.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":"2024-03-19T20:47:15.000Z","updated_at":"2024-10-18T22:02:08.000Z","dependencies_parsed_at":"2024-11-10T02:42:32.097Z","dependency_job_id":null,"html_url":"https://github.com/marmelab/data-generator-retail-api","commit_stats":null,"previous_names":["marmelab/data-generator-retail-api"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marmelab%2Fdata-generator-retail-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marmelab%2Fdata-generator-retail-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marmelab%2Fdata-generator-retail-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marmelab%2Fdata-generator-retail-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/marmelab","download_url":"https://codeload.github.com/marmelab/data-generator-retail-api/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240434233,"owners_count":19800548,"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","nodejs","rest","rest-api","test"],"created_at":"2024-11-10T02:32:22.091Z","updated_at":"2026-05-16T04:33:46.771Z","avatar_url":"https://github.com/marmelab.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Local E-Commerce API With Fake Data\n\nA REST API that exposes the data generated by [data-generator-retail](https://www.npmjs.com/package/data-generator-retail) using [JSON Server](https://www.npmjs.com/package/json-server).\n\n## Installation\n\nClone this repository, then run:\n\n```bash\nnpm install\n```\n\n## Usage\n\n```bash\nnpm start\n```\n\nThe data will be available at `http://localhost:3000`.\n\nAvailable endpoints:\n\n- `/products` (GET, POST)\n- `/products/:id` (GET, PUT, DELETE)\n- `/categories` (GET, POST)\n- `/categories/:id` (GET, PUT, DELETE)\n- `/orders` (GET, POST)\n- `/orders/:id` (GET, PUT, DELETE)\n- `/customers` (GET, POST)\n- `/customers/:id` (GET, PUT, DELETE)\n- `/invoices` (GET, POST)\n- `/invoices/:id` (GET, PUT, DELETE)\n- `/reviews` (GET, POST)\n- `/reviews/:id` (GET, PUT, DELETE)\n\nSee the [JSON server documentation](https://github.com/typicode/json-server/blob/v0/README.md#routes) for more information on route parameters, e.g.:\n\n- `/products?_page=1\u0026_limit=10\u0026_sort=price\u0026_order=asc`\n\n## HTTPS \u0026 Sharing\n\nThe app exposes the API on localhost in HTTP. You can expose it in HTTPS via a local tunnel, e.g. using [serveo](https://serveo.net/):\n\n```bash\nssh -R 80:localhost:3000 serveo.net\n```\n\n## LICENSE\n\nMIT, courtesy of [Marmelab](https://marmelab.com/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarmelab%2Fdata-generator-retail-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarmelab%2Fdata-generator-retail-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarmelab%2Fdata-generator-retail-api/lists"}