DummyJSON is your go-to free online REST API for instantly generating placeholder data without the hassle of setting up a server. Perfect for front-end development, teaching, testing, and prototyping!
Explore the detailed documentation at DummyJSON/Docs for quick samples.
Ever felt bogged down by the complexities of setting up a backend just to fetch dummy data for your front-end project? Or perhaps you dreamt of a learning app where obtaining realistic data didn't involve navigating through convoluted public APIs and cumbersome registration processes. Well, say hello to DummyJSON!
Say goodbye to wrestling with complicated backend setups! With DummyJSON, you can focus on your work without the hassle of intricate configurations. The straightforward backend server effortlessly meets your data needs, saving you from dealing with complex public APIs. No more complicated setups – just a smooth experience to speed up your development process.
Give it a spin at DummyJSON and make your development process smoother.
- No Sign-up/Registration: Dive in and start using it hassle-free.
- Zero-configuration: Enjoy a seamless experience without the need for setup.
- Basic and Advanced API: Covering everything from simple to sophisticated data.
- Resource Relationships: Effortlessly understand and model data relationships.
- Filters and Nested Resources: Tailor your data to fit your needs perfectly.
- HTTP Methods Support: We've got all your HTTP methods covered - GET, POST, PUT, PATCH, and DELETE.
- Delay Responses: Simulate real-world conditions with adjustable response delays.
- Cross-framework Compatibility: Seamlessly integrate with React, Angular, Vue, Ember, or vanilla JavaScript.
Over 10 resources ready for use:
- 190+ Products
- 50 Carts
- 200+ Users
- 250+ Posts
- 340 Comments
- 1400+ Quotes
- 50 Recipes
- 250+ Todos
- Authentication/Authorization
- Custom HTTP Response
Use any method you prefer - fetch API, Axios, jQuery AJAX - it all works seamlessly.
fetch('https://dummyjson.com/products')
.then(res => res.json())
.then(json => console.log(json));OR
const res = await fetch('https://dummyjson.com/products');
const json = await res.json();
console.log(json);Note: Pagination is also supported.
Explore all the routes and more at DummyJSON/Docs.
This project is open-source and available under the MIT License.
- Install
env-cmdglobally to executing commands using an environment from an env file.
npm install -g env-cmd
- Install
nodemonglobally to monitor for any changes in the source and automatically restart the server.
npm install -g nodemon