From 0feb69480355fddff2b95888341c3274dd197b94 Mon Sep 17 00:00:00 2001 From: mobileflowllc Date: Tue, 12 Jul 2016 14:06:52 -0700 Subject: [PATCH 1/2] CRUD update --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index e0b5eb4..4edf77a 100644 --- a/README.md +++ b/README.md @@ -16,6 +16,11 @@ That's it. Now, this isn't as simple as I'd like, but federated authentication and wiring up a realtime db isn't either. Additionally, Firebase's authentication system requires a static page and doesn't play nicely with single page apps. So, we redirect back and forth to `auth.html` during login. +## CRUD + +This fork includes a CRUD branch which adds a simple example of database CRUD methods. + + ##Set up Clone the repo locally and run npm install. From 793deb7d034eb21d8b83ef4ec173576ca67b236e Mon Sep 17 00:00:00 2001 From: mobileflowllc Date: Tue, 12 Jul 2016 14:21:13 -0700 Subject: [PATCH 2/2] navigation changes --- public/auth.html | 7 ++++++- public/tos.html | 2 ++ src/containers/ExampleComponent.js | 2 +- src/index.js | 5 +++-- src/style.css | 2 +- 5 files changed, 13 insertions(+), 5 deletions(-) diff --git a/public/auth.html b/public/auth.html index 35e3df9..0d4cfe4 100644 --- a/public/auth.html +++ b/public/auth.html @@ -3,6 +3,7 @@ Sample FirebaseUI App + -

Welcome to My Awesome App

+

FirebaseUI Login

+ + Back to home. + + \ No newline at end of file diff --git a/public/tos.html b/public/tos.html index 83d66af..dd186c8 100644 --- a/public/tos.html +++ b/public/tos.html @@ -2,8 +2,10 @@ Terms of Service + +

Terms of Service

Back to login. diff --git a/src/containers/ExampleComponent.js b/src/containers/ExampleComponent.js index f08f7a6..5707609 100644 --- a/src/containers/ExampleComponent.js +++ b/src/containers/ExampleComponent.js @@ -16,7 +16,7 @@ class HelloWorld extends Component {

Here is some data in a subcomponent:

{ - JSON.stringify(this.state.data, '/n') + JSON.stringify(this.state, '/n') }

diff --git a/src/index.js b/src/index.js index 123e706..3fb413e 100644 --- a/src/index.js +++ b/src/index.js @@ -15,9 +15,10 @@ const LoggedOut = () => { Go to the auth page. - + +
Sign out - +
diff --git a/src/style.css b/src/style.css index e9aeac0..389615a 100644 --- a/src/style.css +++ b/src/style.css @@ -1,4 +1,4 @@ body { - background-color: blue; + background-color: darkgray; color: white; } \ No newline at end of file