rwa-trivia Trivia App - Real World Angular series

我要开发同款
匿名用户2021年11月23日
11阅读
开发技术Java
所属分类AndroidUI组件、手机/移动开发、Android UI 组件
授权协议Readme

作品详情

rwa-triviaapp

Seeitinaction:

Ontheweb-https://bitwiser.ioAppStore-https://itunes.apple.com/us/app/bitwiser-trivia/id1447244501?mt=8GooglePlay-https://play.google.com/store/apps/details?id=io.bitwiser.trivia

Thisispartofbuildinganewappformyseries-RealWorldAngular@https://blog.realworldfullstack.io/

Part0:Fromzerotocli-ng

Part1:Notanothertodolistapp

Part2:It'saMaterialworld

Part3:FormFormation

Part4:StateofmySPA

Part5:Lightmyfire

Part6:3Rs...Rules,Roles&Routes

Part6.1:Upgradingto4.0.0-rc.2

Part7:Splitmylazyloadedcode

Part8:JustAheadofInTime

Part9:UnitTesting

Part9.1:MoreUnitTesting

Part9.2:EvenMoreUnitTests

Part10:Angular4upgrade

Part11:GameplaywithAngular

Part12:CloudFunctionsforFirebase

Part13:ElasticsearchonGoogleCloudwithFirebasefunctions

Part14:FacetedsearchwithElasticsearchandAngularMaterialdata-table

Part15:IncorporateMaterialUIdesignintotheapp

Part16:MigratingfromFirebasetoFirestore

Part17:BulkuploadandUserprofilesettingsusingfirebasecloudstorage

Part18:Revisitingngrx-Splittingstoreintofeaturemodules,usingactionclasses,selectors&router-store

Part19:ReadyPlayerTwo-Twoplayergameplay,computingstats,dashboardandotherfeatures

Part20:Angular,ngrx&cliversion6-UpgradingAngular,cli,ngrx,material&RxJStoversion6

Part21:ServiceWorkers(ProgressiveWebApp)withAngular

Part22:AngularTestingwithProtractor,JasmineandJest

Part23:ServersiderenderingwithAngularuniversal

Part24:Angularworkspace

Part25-a:NativeScript,AngularandFirebase

QuickInstallationInstructionsInstallcliglobally(versionshouldmatchtheoneinpackage.json)

npminstall-g@angular/cli@1.0.0

Installnpmpackages

npminstall

Setupyourfirebaseinstance@https://firebase.google.com/

SetupprovidersinFirebaseAuthentication

Usethefirebaseconfigurationinformationandplugitinsrc/environment.ts

Importsrc/db.jsontoyourfirebasedatabaseinstancetogettheinitialsetoftestdata

Runtheapplicationusingngserve

ngserve

Addyourselfasauserusingtheapplication.EnsureyouareaddedasauserinAuthenticationtaboffirebaseconsole.

Addyouruseridasanadmininthefirebasedatabase(adminsneedtobeaddedmanually)-

Set:users/<userid>/roles/admin:true

Usefirebase-rules.jsonfiletosetupthefirebaserulesforyourdatabase

Servetheapplicationagain.Ensureyouhaveadminprivileges

ngserve

DeploytoFirebaseServerInstallfirebasetoolsglobally

npminstall-gfirebase-tools

Authenticatewithyourfirebasecredentials

firebaselogin

Setupfirebasehostingconfigurationfortheapplication,using"dist"insteadofpublicasthepublicfoldername

firebaseinit

Createabuild

ngbuild

Serveuptheappusingfirebaseserverlocally

firebaseserve

DeploySitetofirebase

firebasedeploy--onlyhosting

Setupfirebasefunctions-createsfunctionsfolderandinstallsdependencies

firebaseinit

Deployfunctionstofirebase

npmrundeploy-functions

TestingTesttheapplicationusing

ngtest

查看全文
声明:本文仅代表作者观点,不代表本站立场。如果侵犯到您的合法权益,请联系我们删除侵权资源!如果遇到资源链接失效,请您通过评论或工单的方式通知管理员。未经允许,不得转载,本站所有资源文章禁止商业使用运营!
下载安装【程序员客栈】APP
实时对接需求、及时收发消息、丰富的开放项目需求、随时随地查看项目状态

评论