As a user, I should see a basic home page with a login button, when I log in I should see a navbar with a logout button, Library link, Home link and a logo that links to the homepage.
AC
WHEN the page loads
THEN I should see a navbar with a h1 underneath that says Auth
AND a google login button
AND when I am logged-in I should see a library page
AND a log-out button in the navbar
Dev Notes
First let us install everything we need for react routing such as npm install --save react-router-dom
We will also need to install npm install --save reactstrap
User Story
As a user, I should see a basic home page with a login button, when I log in I should see a navbar with a logout button, Library link, Home link and a logo that links to the homepage.
AC
WHEN the page loads THEN I should see a navbar with a h1 underneath that says Auth AND a google login button AND when I am logged-in I should see a library page AND a log-out button in the navbar
Dev Notes
npm install --save react-router-dom
npm install --save reactstrap
App.js
just like the navbar we are going to reference from an older project to make sure react routing is set up right. Here is the link for that older project: https://github.com/StevenZelenak/react-hoarder/blob/master/src/App/App.js