-
Notifications
You must be signed in to change notification settings - Fork 0
Journal 2019
Journal > Journal 2019
This is a journal of activity. Put stuff here first, then later figure out where else it should go.
Angular10, Firebase/Firestore, ng-bootstrap
See package.json for versions
https://ng-bootstrap.github.io/#/components/datepicker/examples
May need auth_token or other setup help...
https://dashboard.ngrok.com/get-started
NOTE You have to use this link to login to ngrok. You login using OAuth and your github credentials.
On the Mac
~/Downloads/ngrok http 4201 -host-header="localhost:4201"
On the Win laptop, same command. Run it from here:
c:\Users\bdunklau\Downloads\ngrok-stable-windows-amd64>
Will generate an http and an https url that you can use tunnel to the macbook or whatever machine you're running on.
Ref: https://github.com/bdunklau/video-quickstart-js/wiki
Infinite scrolling
https://angularfirebase.com/lessons/infinite-scroll-firestore-angular/
https://github.com/AngularFirebase/62-firestore-infinite-scroll
A different kind of menu:
https://www.w3schools.com/howto/howto_js_sidenav.asp
Adding this into app.component.ts
Problem with out-dated chrome driver way down in node_modules
npm i -D protractor
Upload profile pics...
https://www.ninjadevcorner.com/2019/01/how-to-upload-file-with-angular-6-7-tutorial.html
npm install ng2-file-upload --save
This may be better...
https://medium.com/codingthesmartway-com-blog/firebase-cloud-storage-with-angular-394566fd529
To resize/create thumbnails...
npm install --save @google-cloud/storage
(hang on, don't think we need this)
https://www.npmjs.com/package/@google-cloud/storage
do this in ~/yourvotecounts/functions
npm install child-process-promise --save