As a user, when I am logged in via Google, I should be able to logout.
AC
WHEN the page loads I should see all boards
THEN click a button to login
AND when done I should be able to click a button to logout
WIREFRAMES
DEV NOTES
1. Create a bootstrap button on the index.html in the navbar div with id ="navbar-logout-button"
2. Create a navbar.js component
3. import firebase from 'firebase/app';
import 'firebase/auth';
4. create a jquery logout event function:
const logoutEvent = () => {
$('#navbar-logout-button').click((e)=> {
e.preventDefault();
firebase.auth().signOut();
});
};
export default { logoutEvent};
USER STORY
As a user, when I am logged in via Google, I should be able to logout.
AC
WHEN the page loads I should see all boards THEN click a button to login AND when done I should be able to click a button to logout
WIREFRAMES
DEV NOTES
RELATED TICKETS
EX. #2