Link to GitHub repository Deployed
Link to Video
The idea of this application is to organize teams and see which engineers and interns report to the manager. Create a simple and visual interface that will facilitate the user to identify the roles using icons, not only that, create a simple click so if the user wants to contact any employee on the list, it just need to click so the system will auto populate it for the user. The application will describe a Name ID and email for all employee, however, Manager will have one extra field for OFFICE, Engineer for GitHub account, and the Inter will be the school.
N/A
Simple and visual access to the team information.
const createManager = manager => {
let managerArray =
`
<div class="card">
<div class="card-header">
${manager.name} <br/>
<i class="fas fa-mug-hot"></i> Manager</div>
<ul class="list-group list-group-flush">
<li class="list-group-item">ID: ${manager.id}</li>
<li class="list-group-item">Email: <span id="email"><a href="mailto:${manager.email}">${manager.email}</a></span></li>
<li class="list-group-item">Office Number: ${manager.officeNumber}</li>
</ul>
</div>
`;
teamArray.push(managerArray)
};
function menu() {
inquirer
.prompt([
{
type: "list",
name:"menu",
message:"Please, select the type of team member you would like to add:",
choices:[/*"Manager",*/"Engineer", "Intern","Complete"]
}
])
.then((userAnswer) => {
console.log(userAnswer)
switch(userAnswer.menu) {
// case "Manager":
// addManager();
// break;
case "Engineer":
addEngineer();
break;
case "Intern":
addIntern();
break;
case "Complete":
createTeam();
}
});
}
N/A
if you need any further information or support, please, send an email to: luiz.borges.146@gmail.com
N/A
License Information: MIT;
Created by Luiz Borges Please refer to the LICENSE in the repo.