Ovi / DummyJSON

DummyJSON.com provides different types of REST Endpoints filled with JSON data which you can use in developing the frontend with your favorite framework and library without worrying about writing a backend.
http://dummyjson.com
Other
1.86k stars 202 forks source link
api api-client api-rest dummy-data dummy-data-generator javascript javascript-library json json-api json-server nodejs placeholder placeholderapi rest-api

Uptime Robot status

DummyJSON - Generate Placeholder Data on the Fly!

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.

New: Now you can generate your own custom responses from DummyJSON, try it now!

Why DummyJSON?

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.

Features that Enhance Your Experience

Available Resources

Over 10 resources ready for use:

How to Fetch Data

Use any method you prefer - fetch API, Axios, jQuery AJAX - it all works seamlessly.

Example: Get all products

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.


Dummy Image Generator

Dummy Image Generator is a simple Node.js service for generating placeholder images with customizable options.

Usage

You can use the service by making HTTP requests to the following URL:

https://dummyjson.com/image

Basic Examples

Customization Options

Image Formats

Additional Customizations

Supported Fonts


Generate identicon

https://dummyjson.com/icon/HASH/SIZE

https://dummyjson.com/icon/abc123/150

Example

License

This project is open-source and available under the MIT License.