Skip to content

Journal 2019

bdunklau edited this page Aug 16, 2020 · 3 revisions

Journal > Journal 2019

This is a journal of activity. Put stuff here first, then later figure out where else it should go.

June 2019

Type-Ahead Widget

https://weblog.west-wind.com/posts/2019/Apr/08/Using-the-ngBootStrap-TypeAhead-Control-with-Dynamic-Data

Architecture

Angular10, Firebase/Firestore, ng-bootstrap
See package.json for versions

DatePicker Widget

https://ng-bootstrap.github.io/#/components/datepicker/examples

July 11, 2019

ngrok

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

July 18, 2019

Infinite scrolling
https://angularfirebase.com/lessons/infinite-scroll-firestore-angular/
https://github.com/AngularFirebase/62-firestore-infinite-scroll

Aug 5, 2019

A different kind of menu:
https://www.w3schools.com/howto/howto_js_sidenav.asp
Adding this into app.component.ts

Aug 11, 2019

Twilio project set up

Aug 14, 2019

Problem with out-dated chrome driver way down in node_modules
npm i -D protractor

Aug 20, 2019

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

Clone this wiki locally