team-profile-generator

Team Profile Generator

Built with Node.js this command-line application takes in information about employees on a software engineering team and quickly creates an online directory.

Upon successful completion of the question prompts from the end user, an HTML page is generated which displays summaries for each team member. Also, several tests were written for this app to maintain the code for future use.

Criteria

AS A manager I WANT to generate a webpage that displays my team’s basic info SO THAT I have quick access to their emails and GitHub profile GIVEN a command-line application that accepts user input WHEN I am prompted for my team members and their information THEN an HTML file is generated that displays a nicely formatted team roster based on the answers to questions from the user’s input.

Instal

Clone project. Run the following line of code in your terminal to install all the needed packages.

npm i

Tests

Run the following line of code in the terminal to run the tests.

npm run test

You will see all 4 test pages and all 14 tests pass for the app.

Usage

Install packages and open terminal. Run the following code in the command line.

node index.js

You will be prompted with questions to begin filling out the employee information. Select the type of employee you desire and additional questions specific to the role you selected will need to be populated. When the information is all updated select Once you have added all the employees you need select ‘No more entries’. Once this is selected your employee cards will be generated to dist/index.html.

Built With

Screen Shots

App Screenshot App Tests