DummyJSON VS fake-store-api

Compare DummyJSON vs fake-store-api and see what are their differences.

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. (by Ovi)

fake-store-api

FakeStoreAPI is a free online REST API that provides you fake e-commerce JSON data (by keikaavousi)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
DummyJSON fake-store-api
21 45
1,316 1,918
- -
7.2 0.0
13 days ago 24 days ago
EJS EJS
GNU General Public License v3.0 or later MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

DummyJSON

Posts with mentions or reviews of DummyJSON. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-17.
  • Next Auth boilerplate TS
    2 projects | dev.to | 17 Apr 2024
    # next auth secret created by open ssl NEXTAUTH_SECRET=8xvug0aweP+j06DbfOLH9fAU7Bf2nLBLnYHQiFPB9Pc= #local NEXTAUTH_URL="http://localhost:3000" NEXT_PUBLIC_API_URL="https://dummyjson.com" # deveploment NEXTAUTH_DEBUG=true
  • Integrating GraphQL Codegen + React Query + Clerk JWT Tokens
    2 projects | dev.to | 3 Apr 2024
    import { useAuth } from "@clerk/nextjs"; import axios, { AxiosError, isAxiosError } from "axios"; interface GraphQLResponse { data: T; errors?: { message: string }[]; } export const useFetchGraphQLData = ( query: string ): ((variables?: TVariables) => Promise) => { const { getToken } = useAuth(); const url = "https://dummyjson.com"; // Replace this with your GraphQL API URL return async (variables?: TVariables) => { const token = await getToken(); try { const response = await axios.post>( url, { query, variables, }, { headers: { "Content-Type": "application/json", Authorization: token ? `Bearer ${token}` : "", }, } ); if (response.data.errors) { throw new Error(response.data.errors[0].message); } return response.data.data; } catch (error) { if (isAxiosError(error)) { const serverError = error as AxiosError>; if (serverError && serverError.response) { const errorMessage = serverError.response.data.errors?.[0]?.message || "Error in GraphQL request"; throw new Error(errorMessage); } } throw error; } }; };
  • looking for resource site for GET-POST practice (html)
    3 projects | /r/learnprogramming | 9 Dec 2023
    DummyJSON is a set of endpoints you can use to try out different requests without using a commercial API which may or may not ban you or limit your access..
  • UI for fake REST API challenge. How would you rate my skills?
    2 projects | /r/vuejs | 8 Jun 2023
    This particular interface was built around https://dummyjson.com/ fake REST API.
  • What are some of the simplest web applications and/or API's out there that are popular
    1 project | /r/webdev | 28 May 2023
    https://dummyjson.com has a few good endpoints for building out basic apps.
  • Web service
    2 projects | /r/programacion | 8 May 2023
    Buenas te dejo algunas que conozco https://dummyjson.com/ https://www.jsonapi.co/public-api https://github.com/public-apis/public-apis
  • Spacetraders is an online multiplayer game based entirely on APIs. You have to build your own management and UI on your own with any programming language.
    4 projects | /r/programming | 8 May 2023
    I've been using https://dummyjson.com/ to prototype my Web Components, but this probably works better.
  • Create a Shopping Cart with Vuejs and Pinia
    6 projects | dev.to | 19 Apr 2023
    I will use DummyJSON, to get dummy/fake JSON data to use as placeholder in development and prototyping, without worrying about writing a backend.
  • Authentication in Nextjs
    2 projects | dev.to | 13 Apr 2023
    import { NextPage } from 'next' import { useState } from 'react' import { setCookie } from 'cookies-next' import { useRouter } from 'next/router' import { useAuthStore } from '~/store/useAuthStore' // import our useAuthStore const SignIn: NextPage = (props) => { // set UserInfo state with inital values const [userInfo] = useState({ email: 'kminchelle', password: '0lelplR' }) const router = useRouter() // import state from AuthStore const setUser = useAuthStore((state) => state.setUser) const setAuthentication = useAuthStore((state) => state.setAuthentication) const login = async () => { // do a post call to the auth endpoint const res = await fetch('https://dummyjson.com/auth/login', { method: 'post', headers: { 'Content-Type': 'application/json' }, body: JSON.stringify({ username: userInfo.email, password: userInfo.password, }), }) // check if response was ok if (!res.ok) { return console.error(res) } // retrieve data from the response const data = await res.json() // check if we have data if (data) { setUser(data) // set data to our user state setAuthentication(true) // set our authentication state to true setCookie('token', data?.token) // set token to the cookie router.push('/') // redirect to home page } } return (

    Login

    Username (userInfo.email = event.target.value)} required /> Password (userInfo.password = event.target.value)} name="psw" required /> Login
    ) } export default SignIn
  • Serverless API Deployment with AWS Lambda and API Gateway
    1 project | dev.to | 26 Feb 2023
    import json import requests def lambda_handler(event, context): base_url = 'https://dummyjson.com/' product_id = '1' resp = requests.get(url=base_url+'products/'+product_id) if resp.status_code != 200: raise Exception('Failed to retrieve product: '+resp.text) return { 'statusCode': resp.status_code, 'body': resp.json() } Q. what this code does? 1.Imports the necessary modules (JSON and requests). 2.Defines a base URL and a product ID that will be used to construct the API URL. 3.Sends a GET request to the API using the requests library, passing in the full API URL. 4.Checks the response status code to make sure that the request was successful (status code 200). 5.If the response status code is not 200, raise an exception with an error message that includes the response text. 6.If the response status code is 200, return a dictionary containing the response status code and the parsed JSON response body. ●Test the function.

fake-store-api

Posts with mentions or reviews of fake-store-api. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-02-25.
  • Fetch Data Using React Router Dom v6
    1 project | dev.to | 18 Mar 2024
  • Learn Route Parameters in Angular with Example
    3 projects | dev.to | 25 Feb 2024
    import { inject, Injectable } from '@angular/core'; import { HttpClient } from '@angular/common/http'; import { toSignal } from '@angular/core/rxjs-interop'; export type Product = { id: string; title: string; description: string; image: string; price: string; }; @Injectable({ providedIn: 'root', }) export class ProductsService { readonly http = inject(HttpClient); readonly API = 'https://fakestoreapi.com'; $products = toSignal(this.http.get>(`${this.API}/products`)); }
  • Learn Next.js Server Side Rendering by building your own implementation
    3 projects | dev.to | 11 Oct 2023
    export const notNextServerSideProps = async (fetch) => { const data = await fetch('https://fakestoreapi.com/products') .then(res => res.json()) .then(json => json); return { props: { title: 'All Products', products: data } } }
  • Best way to populate personal e-commerce project?
    1 project | /r/webdev | 13 Jul 2023
    This is api for fake e-commerce data https://fakestoreapi.com/
  • Kako napraviti dobar shop u js
    1 project | /r/programiranje | 12 Jul 2023
    Ne treba da kreces sa backom i da pravis nista sam jos uvek, treba ti neki REST API sa dummy podacima da konzumiras i prikazujes na svom frontu. Evo ti jedan
  • Improve Data Fetching in Next.js Applications through SWR
    3 projects | dev.to | 19 May 2023
    import useSWR from "swr"; import Image from "next/image"; const fetcher = async (url) => { const response = await fetch(url); if (!response.ok) { throw new Error("An error occurred while fetching the data."); } return response.json(); }; const ProductDetails = ({ id }) => { const { data: product, error, isLoading, } = useSWR(`https://fakestoreapi.com/products/${id}`, fetcher); if (isLoading) { return
    Loading...div>; } if (error) { return
    Error: {error.message}div>; } return (

    {product.title}h1>
    {product.title} div>

    {product.category}p>

    ${product.price}p>

    {product.description}p> div> div> div> ); }; export async function getServerSideProps(context) { const { id } = context.query; return { props: { id, }, }; } export default ProductDetails;

  • Flutter pagination ft. Bloc
    3 projects | dev.to | 22 Apr 2023
    { "products": [ { "id": 1, "title": "Fjallraven - Foldsack No. 1 Backpack, Fits 15 Laptops", "price": 109.95, "description": "Your perfect pack for everyday use and walks in the forest. Stash your laptop (up to 15 inches) in the padded sleeve, your everyday", "category": "men's clothing", "image": "https://fakestoreapi.com/img/81fPKd-2AYL._AC_SL1500_.jpg", "rating": { "rate": 3.9, "count": 120 } }, { "id": 2, "title": "Mens Casual Premium Slim Fit T-Shirts ", "price": 22.3, "description": "Slim-fitting style, contrast raglan long sleeve, three-button henley placket, light weight & soft fabric for breathable and comfortable wearing. And Solid stitched shirts with round neck made for durability and a great fit for casual fashion wear and diehard baseball fans. The Henley style round neckline includes a three-button placket.", "category": "men's clothing", "image": "https://fakestoreapi.com/img/71-3HjGNDUL._AC_SY879._SX._UX._SY._UY_.jpg", "rating": { "rate": 4.1, "count": 259 } }, { "id": 3, "title": "Mens Cotton Jacket", "price": 55.99, "description": "great outerwear jackets for Spring/Autumn/Winter, suitable for many occasions, such as working, hiking, camping, mountain/rock climbing, cycling, traveling or other outdoors. Good gift choice for you or your family member. A warm hearted love to Father, husband or son in this thanksgiving or Christmas Day.", "category": "men's clothing", "image": "https://fakestoreapi.com/img/71li-ujtlUL._AC_UX679_.jpg", "rating": { "rate": 4.7, "count": 500 } }, { "id": 4, "title": "Mens Casual Slim Fit", "price": 15.99, "description": "The color could be slightly different between on the screen and in practice. / Please note that body builds vary by person, therefore, detailed size information should be reviewed below on the product description.", "category": "men's clothing", "image": "https://fakestoreapi.com/img/71YXzeOuslL._AC_UY879_.jpg", "rating": { "rate": 2.1, "count": 430 } }, { "id": 5, "title": "John Hardy Women's Legends Naga Gold & Silver Dragon Station Chain Bracelet", "price": 695, "description": "From our Legends Collection, the Naga was inspired by the mythical water dragon that protects the ocean's pearl. Wear facing inward to be bestowed with love and abundance, or outward for protection.", "category": "jewelery", "image": "https://fakestoreapi.com/img/71pWzhdJNwL._AC_UL640_QL65_ML3_.jpg", "rating": { "rate": 4.6, "count": 400 } } ], "current_page": 1, "reach_max": false }
  • Request works on Chrome/Firefox but not using curl/Python requests
    1 project | /r/CloudFlare | 23 Mar 2023
    I'm working on a side project using fakestoreapi.com to populate data.
  • Good API for a fake e-commerce site?
    1 project | /r/webdev | 21 Mar 2023
    I am wanting to build a fake e-commerce store as a portfolio project and I was wondering if there are any good ones. Only one I know of is https://fakestoreapi.com/. Any other recommendations would be greatly appreciated!
  • 5 APIs every front-end developer should know.
    2 projects | dev.to | 1 Mar 2023
    Learn more about the API on their website.

What are some alternatives?

When comparing DummyJSON and fake-store-api you can also consider the following projects:

wundergraph-demo - This Repository demonstrates how to combine 7 APIs (4 Apollo Federation SubGraphs, 1 REST, 1 standalone GraphQL, 1 Mock) into one unified GraphQL API which is then securely exposed as a JSON API to a NextJS Frontend.

quotable - Random Quotes API

dummy-products-api - An api to fetch dummy e-commerce product :tshirt: :dress: :jeans: :womans_clothes: JSON data with placeholder images.

Faker

datoji - A tiny JSON storage service. Create, Read, Update, Delete and Search JSON data.

Faker.js - What really happened with Aaron Swartz?

json-server - Get a full fake REST API with zero coding in less than 30 seconds (seriously)

vercel - Develop. Preview. Ship.

autoserver - Create a full-featured REST/GraphQL API from a configuration file

public-apis - A collective list of free APIs

Polr - :aerial_tramway: A modern, powerful, and robust URL shortener

Next.js - The React Framework