{"id":23179672,"url":"https://github.com/jesterjunk/dummyjson","last_synced_at":"2025-04-05T02:20:35.212Z","repository":{"id":195251798,"uuid":"692554299","full_name":"jesterjunk/DummyJSON","owner":"jesterjunk","description":null,"archived":false,"fork":false,"pushed_at":"2023-09-16T21:08:14.000Z","size":32,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-10T10:36:41.528Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"EJS","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/jesterjunk.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,"publiccode":null,"codemeta":null}},"created_at":"2023-09-16T20:53:43.000Z","updated_at":"2023-09-16T21:00:18.000Z","dependencies_parsed_at":null,"dependency_job_id":"80a70e29-5ef9-4be9-b249-d7df06e2f709","html_url":"https://github.com/jesterjunk/DummyJSON","commit_stats":null,"previous_names":["jesterjunk/dummyjson"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jesterjunk%2FDummyJSON","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jesterjunk%2FDummyJSON/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jesterjunk%2FDummyJSON/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jesterjunk%2FDummyJSON/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jesterjunk","download_url":"https://codeload.github.com/jesterjunk/DummyJSON/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247276715,"owners_count":20912388,"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":"2024-12-18T07:16:44.265Z","updated_at":"2025-04-05T02:20:35.206Z","avatar_url":"https://github.com/jesterjunk.png","language":"EJS","funding_links":[],"categories":[],"sub_categories":[],"readme":"Cloned from https://github.com/Ovi/DummyJSON\n\n[![Uptime Robot status](https://img.shields.io/uptimerobot/status/m793802954-7f701e85a9b8891f77662c72?label=json-server\u0026style=for-the-badge\u0026)](https://dummyjson.com/test) \u0026ensp; [![Uptime Robot status](https://img.shields.io/uptimerobot/status/m793802970-81b516d840f61c2d83245f81?label=img-server\u0026style=for-the-badge\u0026)](https://i.dummyjson.com/300x100/282828/?text=SERVER%20IS%20UP\u0026fontFamily=ubuntu\u0026fontSize=28)\n\n# DummyJSON\n\n[DummyJSON](https://dummyjson.com) is a free online REST API that you can use whenever you need some placeholder data for your front-end website or single-page application without running any server-side code.\nIt's awesome for teaching purposes, sample codes, testing, prototyping.\n\nCheckout the detailed docs at [DummyJSON/Docs](https://dummyjson.com/docs/) for samples.\n\n## Why?\n\nMost of the time when we create a front-end application or website for learning or for client, we have to rely on the backend to implement the front-end or if we want to create a simple learning application we have to use hard-coded data, recently I found myself in need of some data.\n\nI didn't like the idea of using some public API because I had the feeling that I was spending more time registering a client and understanding a complex API than focusing on my task.\n\nSo I decided to code a simple backend server that solved my problem, and here's DummyJSON.\n\nYou can find it running here and are free to use it in your developments and prototypes: https://dummyjson.com.\n\nI hope you will find it useful.\n\n## Features\n\n- No Sign-up/Registration\n- Zero-configuration\n- Basic and Advanced API\n- Resources relationships\n- Filters and nested resources\n- Supports GET, POST, PUT, PATCH, and DELETE http methods\n- HTTP and HTTPS both works just fine\n- Compatible with React, Angular, Vue, Ember, and vanilla JavaScript\n\n## Resources\n\nThere are 8 resources available for you:\n\n- 100 products https://dummyjson.com/products/\n- 20 carts https://dummyjson.com/carts/\n- 100 users https://dummyjson.com/users/\n- 150 posts https://dummyjson.com/posts/\n- 340 comments https://dummyjson.com/comments/\n- 100 quotes https://dummyjson.com/quotes/\n- 150 todos https://dummyjson.com/todos/\n- auth https://dummyjson.com/auth/\n\n## How to\n\nyou can fetch data with any kind of methods you know(fetch API, Axios, jquery ajax,...)\n\n### Get all products\n\n```js\nfetch('https://dummyjson.com/products')\n  .then(res =\u003e res.json())\n  .then(json =\u003e console.log(json));\n```\n\nOR\n\n```js\nconst res = await fetch('https://dummyjson.com/products');\nconst json = await res.json();\nconsole.log(json);\n```\n\nNote: Pagination is also supported\n\nSee all the routes: https://dummyjson.com/docs/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjesterjunk%2Fdummyjson","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjesterjunk%2Fdummyjson","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjesterjunk%2Fdummyjson/lists"}