Skip to content
Simranjyot Gill edited this page Dec 26, 2017 · 1 revision

App.js

It contains code for following important functionalities:

  1. It manages routes. It displays login screen if user has not authenticated yet and displays home screen when user is authenticated successfully.
  2. It contains a callback which adds user-info at firebase path /users, once user gets authenticated.
  3. As we are using material-ui, it also adds MuiThemeProvider wrapper.

Note:

We are currently not displaying footer. But footer can be added by setting this.showFooter flag present in App.js to true.

Clone this wiki locally