As a user, when I am on the single board view, there should be some way to go back to all my boards.
AC
WIREFRAMES
DEV NOTES
1.Create component folder for newPersonnel inside this folder create javascript file(newPersonel) Write function for const showForm this will be a domstring builder that builds the form. Export showForm
2.Create component file for personnelData this will contain the post function named addPersonnel const addPersonnel = (newPersonnel) => axios.post(`${baseUrl}/personnel.json`, newPersonnel);
export addPersonnel
3.Create component Called personnel inside personnel create a function called const makePersonnel in this function it will pass a event. It will make a new object from the values from newPersonnel variable. Next save data to Firebase(PersonnelData.addPersonnel(newPersonnel)
.then(() => {
// 3.reprint Personell
// eslint-disable-next-line no-use-before-define
buildPersonnell();
utils.printToDom('new-Personnel', '');
})
.catch((err) => console.error('could not addPersonnel', err));
USER STORY
As a user, when I am on the single board view, there should be some way to go back to all my boards.
AC
WIREFRAMES
DEV NOTES
RELATED TICKETS
EX. #1