This repository is a JSON file with fake user data that can be accessed through a simple API. The data includes information about individuals along with their respective categories.
The JSON data can be accessed using the following URL:
The JSON file follows the structure:
[
{
"name": "John",
"email": "[email protected]",
"category": "Singer"
},
// ... (other entries)
]
Each entry in the JSON array represents an individual with attributes such as name, email, and category.
const fetchData = async ()=>{
try {
const response = await fetch("https://raw.githubusercontent.com/saqibbedar/fake-user-data-api/main/data.json");
if(!response.ok){
throw new Error("failed to locate resources.");
}
const data = await response.json();
console.log(data);
}
catch(error){
console.error(error);
}
};
fetchData();
This repo is for learning purposes, so, feel free to use this fake user data for testing, development, or educational purposes.
Also, check out this Search Engine Tool
, this project is the same as this but I have used JSON data of my classmates and made a search tool to search each user individually. It is a great project and beginner-friendly, especially when working with API or JSON-type data.
Feel free to contribute to this repository by adding more fake data into JSON files or even adding some additional features. Contributions from the community can make this repository a valuable resource for developers.
Happy coding and learning! 🚀