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. 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