This week, I built a software engineering team generator command line application. When you run this application, it will prompt the user for information about the team manager, as well as information regarding the team members. When the user has completely built their team, an HTML file will produce a team roaster. This applications makes it quick and easy to gather necessary information about each team member.
This app is ran using Node.js, as well as the inquirer node.js package. This week challenge was to test my understanding of using the command line to run an application. It also tested my ability to create Javascript classes in order to pass the provided tests through jest.
It also assisted in developing my understanding of OOP constructors and prototypes. For each employee, I created an object that was extended from the main employee. I learned about overwritting properties but most importantly how these objects inherit features from other objects.
-
Clone this repositiory to your local computer using terminal or bash:
git clone https://github.com/Kammielatay/template-employee-summary.git
-
Open folder in your editor of choice (VSC, Sublime, etc.)
In this application, the program will prompt the user for the name of the team member, employee id, and email. If the user is inputing information regarding a manager member, it will prompt the user for the managers office number. If the user is input information regarding a team member that is an engineer, it will prompt them for that team members GitHub username. If the user is inputing information regarding an Intern of the company, it will prompt them for the school that the entire is attended.
Clicking on the email will allow you to send an email to that member and clicking on their GitHub username will take you to the GitHub profile.
Distributed under the License. See OpenSource.org for more information.
-
Select 'Open in Integrated Terminal' by simply right-clicking 'app.js' in the 'Develop' file and run the code below:
node install node app.js
-
Then go into the 'output' file, where you will find your generated 'team.html' file and click it.
-
Run file with Live Server or your default browser.
If you have any questions, please reach out to me at Kameshialatay@gmail.com