From 6ca6b5aa7d86f0ee21e15655ad16aec43327f73b Mon Sep 17 00:00:00 2001 From: bvanroll Date: Sun, 29 Jan 2023 14:30:01 +0100 Subject: [PATCH] testing --- .idea/modules.xml | 8 +++++ .idea/vcs.xml | 6 ++++ package-lock.json | 24 +++++++++++++ package.json | 8 +++++ public/avatars/example.png | Bin 0 -> 8229 bytes public/css/main.css | 54 +++++++++++++++++++++++++++++ public/index.html | 48 ++++---------------------- ts/main.js | 69 +++++++++++++++++++++++++++++++++++++ ts/main.ts | 47 +++++++++++++++++++++++++ tsconfig.json | 16 +++++++++ 10 files changed, 238 insertions(+), 42 deletions(-) create mode 100644 .idea/modules.xml create mode 100644 .idea/vcs.xml create mode 100644 package-lock.json create mode 100644 package.json create mode 100644 public/avatars/example.png create mode 100644 public/css/main.css create mode 100644 ts/main.js create mode 100644 ts/main.ts create mode 100644 tsconfig.json diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 0000000..ed1aa97 --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..35eb1dd --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/package-lock.json b/package-lock.json new file mode 100644 index 0000000..aebfc7d --- /dev/null +++ b/package-lock.json @@ -0,0 +1,24 @@ +{ + "name": "little_people_firebase", + "lockfileVersion": 3, + "requires": true, + "packages": { + "": { + "dependencies": { + "typescript": "^4.9.4" + } + }, + "node_modules/typescript": { + "version": "4.9.4", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.9.4.tgz", + "integrity": "sha512-Uz+dTXYzxXXbsFpM86Wh3dKCxrQqUcVMxwU54orwlJjOpO3ao8L7j5lH+dWfTwgCwIuM9GQ2kvVotzYJMXTBZg==", + "bin": { + "tsc": "bin/tsc", + "tsserver": "bin/tsserver" + }, + "engines": { + "node": ">=4.2.0" + } + } + } +} diff --git a/package.json b/package.json new file mode 100644 index 0000000..5e26d6b --- /dev/null +++ b/package.json @@ -0,0 +1,8 @@ +{ + "dependencies": { + "typescript": "^4.9.4" + }, + "scripts": { + "build": "tsc --build" + } +} diff --git a/public/avatars/example.png b/public/avatars/example.png new file mode 100644 index 0000000000000000000000000000000000000000..2b8318559062626e0f4ffe02a52004d0f32d421c GIT binary patch literal 8229 zcmXY0dpuMB|F00;s3gh#Udd%{Ywq_;m?W26a~;WT!y0qHg^ZEQX6{Mkl2XjIlD5?* zLc$Q%@F{%SNR#*-pYQLFoxNYr_w)I>o%cEK_v3N0u0btN96f*Zz<~oNtgXzhA2@K3 z4g6SqTmVAOouC7MB2nh9QI6q(QAi(nzyV|baNhta>rfw9!1Vwhe^ewTKo3wPU9-Jm zt`V9t{H)M80dHkxWsz2M^?r-m?Sv8Xh*?s(Rz$i{JkBt#`1$jvik^`fnHiP=2&;^` zt2s>uu|-$2pIkv?e|$V-kx{3ID%@p$w9KrxOn+#eR;wTTpgJeU$;rtyxk4u<&pNw_ z@p%yvm1}dqxe3-784(_pnWi0i&)nJ5+}!-CchK&?i;$ZE3xjp$QQ0bP!GGyJPa8|X z4sH$(4nN=5>LT-PZEX$WiVMq1LklW82q~7SRc6*UBfYimS!GpqH5Q@qwyF5PpB~$1 zR+`vdx6N&JaQEKZ+p|c(KXk2ebh&AD@39dw&m@Upoz-BTQe~c6ZJbzU6qRF^Qe~Q4 zZkAeYb+6tCU7~jvs}r4TfGV`gYSg`pHAy6xB$ZobHCSgi>O^CV6L8k|9-AhWL!$0? zr4Uz`D;V@0Hk-}tt+?jof(Y{T^78&W-s0ixaLvw!v%z8i!`|KDz`R{{fB!U&Nb`tI zxDtiA4Gp$REVGDvP~e134oh;p>d1e2&g;Md30-S5;~RIUe$0IL6C}kP_!m@jx=sIV z^rF#gullYR_a2@T@$;Uzpnf6y_MpdORNb}f@bFRh$yF$XtMTS{8TmJ<@b~n+-_ zL*LD94StJ3N1w6Wi){w0c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p9EX~C}el{a!rftDaqD z4y#)}YqwGDS9gHh3=n7UgqpCY-Q{e$HX#uY9XIk5#TzRJ%^q@kS|F83eD- znEhT*xlq)eSB+z95&h_UBSNpQ2^ zaD6em+RaEBN+Z{=N~j+6pc~#Rvwy9>6SVm@3nj#U%@}pgD@jsWJ3aR3ML7IyYqSZgT2*3(8ujIfcvzaZ(Y#{GWbRSRaDca zdn{?lj9lru$5S=v`3{YFW6Xu;(h-zOTv@mb%N4C~^2+#rn?85_Dgp=Gzx;k%-uBb+ zHUoOKNWIcBeke(guoEC%RkXZVu=FQGJ5uoB)o!ZxvH$dn%TbXx#{)W{h}^xEU!L?< z9(nc!7MCLP)}ZH5&%tX`<@8pd3l~^QLW=zdn>yNa2LU2CK}zZF7aY0P7@5x%STNF#2TJ-1y9UYn*^w|8+h-h3&=-X+h82 zKis{V!r=?9mx<5MLX}3i2J0qb7I*PeW_GuYU~LQ+`d_~C6}PLCdbLhd;tANCa% zS7yISZKwTX<$)JvotFnSg~55U$S-e#_An4MQ`#O*^r zIvY8Ar|l3&*vSmlO9#izDzCX^guL53WrrA1zzpX1Tk-k}#@o<#5+6Sz1__dU$=*%- ph)2LmwBKTX!#=pRcj)*5Ohfa}CZUUbz<2)x*5**N7L!{k{|Cj1gth - + -

Fake People

+ + + +

Fake People

- diff --git a/ts/main.js b/ts/main.js new file mode 100644 index 0000000..1b2738b --- /dev/null +++ b/ts/main.js @@ -0,0 +1,69 @@ +var statusItem = document.querySelector("p#status"); +var peopleList = document.querySelector("#people"); +var pageSize = 100 +var pageNum = (1 *pageSize) -1; +document.addEventListener('DOMContentLoaded', function() { + try { + let app = firebase.app(); + let features = [ + 'database', + 'storage' + ].filter(feature => typeof app[feature] === 'function'); + + + } catch (e) { + console.error(e); + } + var database = firebase.database(); + var rootRef = database.ref('/').orderByChild("lastName").startAt(pageNum).limitToFirst(pageSize); + + //const people = [] + //console.log(peopleList) + rootRef.once('value', function(snapshot){ + console.log(snapshot) + snapshot.forEach(function(d) { + console.log(d) + var v = d.val(); + console.log(v) + peopleList.innerHTML += `
+
+ not yet +
+
+

${v.firstName} ${v.lastName}

+

Gender:

+

${v.gender}

+

Age:

+

${v.age}

+

Current Country of Residence:

+

${v.country}

+

Job:

+

${v.job}

+
+
+

Bio:

+

${v.bio}

+
+
`; + }) + }); + //console.log(people) +}); +//console.log(people) + // snapshot.forEach(function(d) { + // var v = d.val(); + // peopleList.innerHTML += `
+ //

${v.firstName} ${v.lastName}

+ //

Gender:

+ //

${v.gender}

+ //

Age:

+ //

${v.age}

+ //

Current Country of Residence:

+ //

${v.country}

+ //

Job:

+ //

${v.job}

+ //

Bio:

+ //

${v.bio}

+ //
`; + // console.log(d.val()); + // }); \ No newline at end of file diff --git a/ts/main.ts b/ts/main.ts new file mode 100644 index 0000000..d672e4f --- /dev/null +++ b/ts/main.ts @@ -0,0 +1,47 @@ + +let peopleListDiv: HTMLElement = document.querySelector("#people")!; + +var pageSize: number = 100; +var pageNum: number = (1 * pageSize) - 1; + +document.addEventListener('DOMContentLoaded', function() { + try { + // @ts-ignore + let firebaseApp= firebase.app(); + } catch (e) { + console.error(e); + } + // @ts-ignore + const firebaseDb = firebase.database(); + var rootDatabaseReference = firebaseDb.ref('/').orderByChild("lastName").startAt(pageNum).limitToFirst(pageSize); + rootDatabaseReference.once('value', function(databaseSnapshot: any[]) { + console.debug(databaseSnapshot) + + databaseSnapshot.forEach(function(snapshotEntry) { + console.debug(snapshotEntry) + var snapshotEntryValue = snapshotEntry.val(); + console.debug(snapshotEntryValue) + peopleListDiv.innerHTML += `
+
+ not yet +
+
+

${snapshotEntryValue.firstName} ${snapshotEntryValue.lastName}

+

Gender:

+

${snapshotEntryValue.gender}

+

Age:

+

${snapshotEntryValue.age}

+

Current Country of Residence:

+

${snapshotEntryValue.country}

+

Job:

+

${snapshotEntryValue.job}

+
+
+

Bio:

+

${snapshotEntryValue.bio}

+
+
`; + }) + }) +}) + diff --git a/tsconfig.json b/tsconfig.json new file mode 100644 index 0000000..5b1b1f2 --- /dev/null +++ b/tsconfig.json @@ -0,0 +1,16 @@ +{ + "compilerOptions": { + "module": "commonjs", + "noImplicitReturns": true, + "noUnusedLocals": true, + "outDir": "public/js", + "sourceMap": true, + "strict": true, + "target": "esnext", + "watch": true + }, + "compileOnSave": true, + "include": [ + "ts" + ] +} \ No newline at end of file