├── .gitignore ├── LICENSE ├── README.md ├── Selection_002.png ├── build ├── asset-manifest.json ├── index.html ├── precache-manifest.8570e1b2d52550ecdb00274666f205d1.js ├── service-worker.js └── static │ ├── css │ ├── main.79c2daf0.chunk.css │ └── main.79c2daf0.chunk.css.map │ └── js │ ├── 2.42dd37ef.chunk.js │ ├── 2.42dd37ef.chunk.js.LICENSE.txt │ ├── 2.42dd37ef.chunk.js.map │ ├── main.56d57068.chunk.js │ ├── main.56d57068.chunk.js.map │ ├── runtime-main.79923484.js │ └── runtime-main.79923484.js.map ├── package.json ├── public └── index.html ├── src ├── App.js ├── components │ └── Loader.js ├── index.css ├── index.js ├── person.js └── picture.js └── yarn.lock /.gitignore: -------------------------------------------------------------------------------- 1 | # See https://help.github.com/articles/ignoring-files/ for more about ignoring files. 2 | 3 | # dependencies 4 | /node_modules 5 | 6 | # production 7 | /dist 8 | 9 | # misc 10 | .DS_Store 11 | npm-debug.log* 12 | yarn-error.log 13 | 14 | /coverage 15 | .idea 16 | yarn.lock 17 | package-lock.json 18 | *bak 19 | 20 | # visual studio code 21 | .history 22 | *.log 23 | functions/* 24 | lambda/mock/index.js 25 | .temp/** 26 | 27 | ~/.vscode-root/ 28 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2020 Championrunner 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # react-random-user-generator 2 | 3 | A Random User Generator using React 4 | 5 |  6 | 7 | 8 | # Fork the project and give it a star if you like it 9 | 10 | **Running Locally in your System:** 11 | 12 | ## 1 Run git clone repository name 13 | ## 2 Run cd Random-User-Generator 14 | ## 3 Run npm install 15 | ## 4 Run npm start 16 | 17 | # You are good to go Happy Hacking 18 | 19 |  20 | 21 | [](https://app.netlify.com/sites/zen-khorana-1c4d80/deploys) 22 | 23 | # Features Coming up is adding the contact card in with the portfolio for each user . 24 | -------------------------------------------------------------------------------- /Selection_002.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ishaan28malik/react-random-user-generator/9269e750020793272f8b691d3b98331e9cdc12bf/Selection_002.png -------------------------------------------------------------------------------- /build/asset-manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "files": { 3 | "main.css": "/react-random-user-generator/static/css/main.79c2daf0.chunk.css", 4 | "main.js": "/react-random-user-generator/static/js/main.56d57068.chunk.js", 5 | "main.js.map": "/react-random-user-generator/static/js/main.56d57068.chunk.js.map", 6 | "runtime-main.js": "/react-random-user-generator/static/js/runtime-main.79923484.js", 7 | "runtime-main.js.map": "/react-random-user-generator/static/js/runtime-main.79923484.js.map", 8 | "static/js/2.42dd37ef.chunk.js": "/react-random-user-generator/static/js/2.42dd37ef.chunk.js", 9 | "static/js/2.42dd37ef.chunk.js.map": "/react-random-user-generator/static/js/2.42dd37ef.chunk.js.map", 10 | "index.html": "/react-random-user-generator/index.html", 11 | "precache-manifest.8570e1b2d52550ecdb00274666f205d1.js": "/react-random-user-generator/precache-manifest.8570e1b2d52550ecdb00274666f205d1.js", 12 | "service-worker.js": "/react-random-user-generator/service-worker.js", 13 | "static/css/main.79c2daf0.chunk.css.map": "/react-random-user-generator/static/css/main.79c2daf0.chunk.css.map", 14 | "static/js/2.42dd37ef.chunk.js.LICENSE.txt": "/react-random-user-generator/static/js/2.42dd37ef.chunk.js.LICENSE.txt" 15 | }, 16 | "entrypoints": [ 17 | "static/js/runtime-main.79923484.js", 18 | "static/js/2.42dd37ef.chunk.js", 19 | "static/css/main.79c2daf0.chunk.css", 20 | "static/js/main.56d57068.chunk.js" 21 | ] 22 | } -------------------------------------------------------------------------------- /build/index.html: -------------------------------------------------------------------------------- 1 |
P(o,n))void 0!==u&&0>P(u,o)?(e[r]=u,e[a]=n,r=a):(e[r]=o,e[i]=n,r=i);else{if(!(void 0!==u&&0>P(u,n)))break e;e[r]=u,e[a]=n,r=a}}}return t}return null}function P(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}var N=[],z=[],O=1,R=null,M=3,I=!1,F=!1,D=!1;function L(e){for(var t=C(z);null!==t;){if(null===t.callback)_(z);else{if(!(t.startTime<=e))break;_(z),t.sortIndex=t.expirationTime,S(N,t)}t=C(z)}}function A(e){if(D=!1,L(e),!F)if(null!==C(N))F=!0,r(U);else{var t=C(z);null!==t&&l(A,t.startTime-e)}}function U(e,n){F=!1,D&&(D=!1,i()),I=!0;var r=M;try{for(L(n),R=C(N);null!==R&&(!(R.expirationTime>n)||e&&!o());){var a=R.callback;if(null!==a){R.callback=null,M=R.priorityLevel;var u=a(R.expirationTime<=n);n=t.unstable_now(),"function"===typeof u?R.callback=u:R===C(N)&&_(N),L(n)}else _(N);R=C(N)}if(null!==R)var c=!0;else{var s=C(z);null!==s&&l(A,s.startTime-n),c=!1}return c}finally{R=null,M=r,I=!1}}function j(e){switch(e){case 1:return-1;case 2:return 250;case 5:return 1073741823;case 4:return 1e4;default:return 5e3}}var V=a;t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){F||I||(F=!0,r(U))},t.unstable_getCurrentPriorityLevel=function(){return M},t.unstable_getFirstCallbackNode=function(){return C(N)},t.unstable_next=function(e){switch(M){case 1:case 2:case 3:var t=3;break;default:t=M}var n=M;M=t;try{return e()}finally{M=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=V,t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=M;M=e;try{return t()}finally{M=n}},t.unstable_scheduleCallback=function(e,n,o){var a=t.unstable_now();if("object"===typeof o&&null!==o){var u=o.delay;u="number"===typeof u&&0a?(e.sortIndex=u,S(z,e),null===C(N)&&e===C(z)&&(D?i():D=!0,l(A,u-a))):(e.sortIndex=o,S(N,e),F||I||(F=!0,r(U))),e},t.unstable_shouldYield=function(){var e=t.unstable_now();L(e);var n=C(N);return n!==R&&null!==R&&null!==n&&null!==n.callback&&n.startTime<=e&&n.expirationTime\n
\n First Name: {person.name.first}\n
\n \n Gender: {person.gender}\n
\n \n Age: {person.dob.age}\n
\n \n Country: {person.location.country}\n
\n \n Hi there
*/}\n
48 |
First Name
50 | : {person.name.first}
51 | Gender
52 | : {person.gender}
53 | Age
54 | : {person.dob.age}
55 | Country
56 | : {person.location.country}
57 | Phone
58 | : {person.phone}
59 | DOB
60 | : {person.dob.date.slice(0, 10)}
61 | {results.dob.age}
9 | {results.gender}
10 | {results.name.first}
11 |