Currently I use Fastmail to host my own domain, and then for every new service I save the account in 1Password using service@service.mydomain.com It's a bit extreme, but surprisingly little extra effort. That said, most of the accounts I create are throwaway. For phone numbers I have an old, unused Google voice number I give out. It's a real number, but never checked, except for once every 90? days, to keep it... - Source: Hacker News / 2 months ago
Import axios from 'axios'; Import { FC, useState } from 'react'; Import { AppProps, Users } from './App.types'; Import User from './components/User'; Const App: FC = ({ title }) => { const [users, setUsers] = useState([]); const [isLoading, setIsLoading] = useState(false); // useEffect(() => { // const getUsers = async () => { // try { // setIsLoading(true); ... - Source: dev.to / 5 months ago
Fetch("https://randomuser.me/api/") .then(response=>{ if(!response.ok){ throw new Error("Failed") } return response.json() }) .then(data => console.log(data)) .catch(error => alert(error)). - Source: dev.to / 9 months ago
I just released the first version of random_user, a convenient generator of random user. It simply use the great api from https://randomuser.me/, with reqwest. Source: 9 months ago
Hello, I'd like to make a React Native application using the RandomUser API. I want to make a simple app that takes the data from RandomUser and displays it as a list of people to hire for different jobs. On top of the current API, I want to add a property for categories each person will work in. Something like:. Source: over 1 year ago
If you want data to run a test DC on rather then using Real people (what happens if you accidentally expose personal employee data!) you want some real like sample, but not real data. I use https://randomuser.me/ to get names. It's easy to use:. Source: over 1 year ago
There are a lot of free APIs out there and a couple of libraries for generating random data. Just Google it. Here is an API I found. https://randomuser.me Random User Generator. Here is a package: https://www.npmjs.com/package/randomuser. Source: over 1 year ago
Here's a hacky powershell script I made that uses randomuser.me. Be sure to modify it to your tastes. Source: over 1 year ago
Now learn to make it dynamic by trying out API Calls. Lots of open source api calls are available for learning. (News, User, Images). Source: almost 2 years ago
The test I like to give candidates is to use randomuser.me API to populate a list of user profiles. I give them a wireframe UI, some parameters to the query (e.g., I only want 20 users from and only from these countries.) I encourage them to use Google or StackOverflow, a normal dev does all the time. Source: almost 2 years ago
Https://randomuser.me/ you can probably try this. Source: about 2 years ago
Export async function fetchRandomUser() { return await axios.get('https://randomuser.me/api/') .then((response) => { // console.log(response.data); return response.data }) .catch((error) => { console.log(error) }) }. - Source: dev.to / about 2 years ago
const getRandomUser = async () => { var response = await fetch('https://randomuser.me/api/'); var result = await response.json(); return result; } let userPromise = getRandomUser();Random User name
{#await userPromise}Loading....
{:then users}{users.results[0].name.first}
{:catch err}Error while loading the...
- Source: dev.to / over 2 years ago
Maybe something like building something using the randomuser.me API to make a SPA that looks like a flashcards memory game. It will show that you can do http requests, work with a simple API, and build a simple mobile friendly UI with React. Source: over 2 years ago
Const initialData: UserData = {id: '123', firstname: 'First Name', lastname: 'Last Name'}; Export const user = readable(initialData, (set) => { const userApiInterval = setInterval(() => { fetch('https://randomuser.me/api/').then((data) => data.json()).then((user) => { const {first, last } = user.results[0].name; const {value} = user.results[0].id; const newUser:... - Source: dev.to / over 2 years ago
You just need to learn Async await & promises. This free public API is a great resource for learning API's. You can make any number of requests and play around with seeing the response data come in. I've used this API for small projects numerous times. Source: over 2 years ago
I actually found a movie site where there are random toasts telling that some people subscribed to their premium service or whatever they call it. I checked the DevTools, and I saw there were calls to the Random User API. Source: over 2 years ago
// RandomUser.spec.js // lets import these two functions Import { setupServer } from "msw/node"; Import { rest } from "msw"; It('displays title, first and lastname of loaded user from randomuser.me', async () => { // here we will create a server const server = setupServer( // and this server is going to be processing the GET requests rest.get("https://randomuser.me/api", (req, res, ctx) => { //... - Source: dev.to / over 2 years ago
Is there a way to create a for loop which would render a certain number of profiles? I want to have the "Load More Users" button render 2 more profiles each time it is clicked. I am using the random user api. Here is a link to the codepen. Source: over 2 years ago
I can share my real life assessment for frontend dev, about 2 years old. App must load contacts from API and allow search, filter by first letter, display full info. The whole description was lost but it had just other minor requirements like tests and responsive design. Repo. Source: over 2 years ago
Import { useState, useEffect } from "react"; Import axios from "axios"; Const url = 'https://randomuser.me/api/?inc=name' Export default function App() { const [fullName, setFullName] = useState('') useEffect(() => { axios.get(url) .then(({data}) => { const {first, last} = data.results[0].name setFullName(`${first} ${last}`) }) }, []) return (...- Source: dev.to / over 2 years ago
Do you know an article comparing Random User Generator to other products?
Suggest a link to a post with product alternatives.
This is an informative page about Random User Generator. You can review and discuss the product here. The primary details have not been verified within the last quarter, and they might be outdated. If you think we are missing something, please use the means on this page to comment or suggest changes. All reviews and comments are highly encouranged and appreciated as they help everyone in the community to make an informed choice. Please always be kind and objective when evaluating a product and sharing your opinion.