rwa-triviaapp
Seeitiactio:
Otheweb-https://bitwiser.ioAppStore-https://itues.apple.com/us/app/bitwiser-trivia/id1447244501?mt=8GooglePlay-https://play.google.com/store/apps/details?id=io.bitwiser.triviaThisispartofbuildigaewappformyseries-RealWorldAgular@https://blog.realworldfullstack.io/
Part0:Fromzerotocli-g
Part1:Notaothertodolistapp
Part2:It'saMaterialworld
Part3:FormFormatio
Part4:StateofmySPA
Part5:Lightmyfire
Part6:3Rs...Rules,Roles&Routes
Part6.1:Upgradigto4.0.0-rc.2
Part7:Splitmylazyloadedcode
Part8:JustAheadofITime
Part9:UitTestig
Part9.1:MoreUitTestig
Part9.2:EveMoreUitTests
Part10:Agular4upgrade
Part11:GameplaywithAgular
Part12:CloudFuctiosforFirebase
Part13:ElasticsearchoGoogleCloudwithFirebasefuctios
Part14:FacetedsearchwithElasticsearchadAgularMaterialdata-table
Part15:IcorporateMaterialUIdesigitotheapp
Part16:MigratigfromFirebasetoFirestore
Part17:BulkuploadadUserprofilesettigsusigfirebasecloudstorage
Part18:Revisitiggrx-Splittigstoreitofeaturemodules,usigactioclasses,selectors&router-store
Part19:ReadyPlayerTwo-Twoplayergameplay,computigstats,dashboardadotherfeatures
Part20:Agular,grx&cliversio6-UpgradigAgular,cli,grx,material&RxJStoversio6
Part21:ServiceWorkers(ProgressiveWebApp)withAgular
Part22:AgularTestigwithProtractor,JasmieadJest
Part23:ServersiderederigwithAgularuiversal
Part24:Agularworkspace
Part25-a:NativeScript,AgularadFirebase
QuickIstallatioIstructiosIstallcliglobally(versioshouldmatchtheoeipackage.jso)pmistall-g@agular/cli@1.0.0
Istallpmpackagespmistall
Setupyourfirebaseistace@https://firebase.google.com/
SetupprovidersiFirebaseAutheticatio
Usethefirebasecofiguratioiformatioadplugitisrc/eviromet.ts
Importsrc/db.jsotoyourfirebasedatabaseistacetogettheiitialsetoftestdata
Rutheapplicatiousiggserve
gserve
Addyourselfasauserusigtheapplicatio.EsureyouareaddedasauseriAutheticatiotaboffirebasecosole.
Addyouruseridasaadmiithefirebasedatabase(admiseedtobeaddedmaually)-
Set:users/<userid>/roles/admi:true
Usefirebase-rules.jsofiletosetupthefirebaserulesforyourdatabase
Servetheapplicatioagai.Esureyouhaveadmiprivileges
gserve
DeploytoFirebaseServerIstallfirebasetoolsgloballypmistall-gfirebase-tools
Autheticatewithyourfirebasecredetialsfirebaselogi
Setupfirebasehostigcofiguratiofortheapplicatio,usig"dist"isteadofpublicasthepublicfolderamefirebaseiit
Createabuildgbuild
Serveuptheappusigfirebaseserverlocallyfirebaseserve
DeploySitetofirebasefirebasedeploy--olyhostig
Setupfirebasefuctios-createsfuctiosfolderadistallsdepedeciesfirebaseiit
Deployfuctiostofirebasepmrudeploy-fuctios
TestigTesttheapplicatiousiggtest







评论