-
This application uses a command line interface to ask the user for information about team members. Each team must have one manager and then may have as many engineers or interns as the user chooses.
-
The user runs 'node index.js' and then will be prompted for information for one manager and then an optional number of engineers and/or interns.
-
The application validates each input and asks the user to re-enter if they input a field incorrectly.
-
When all the team members are entered, the application will generate the HTML for a clean looking webpage displaying the information for each of the team members. It will also tell you where the output file resides.
-
Note: Although the requirements asked for the output to be stored in a dist directory, we were given starter code that already had sample files in the dist directory and wrote the team.html file in an output directory so I kept that directory structure.
-
Separately, a string of tests for each class are in the tests directory. The walkthrough video demonstrates that all tests pass.
- HTML
- CSS
- Javascript
- node.js
- inquirer
- fs
- path
- chalk
If you want to edit application you must have a Github account, download Visual Studio Code, install node.js, and inquirer
Clone the github project
To install packages dependencies in package.json, open a console in the top level directory and run the following command
npm install
To run this application, open a console in the correct directory and enter
node index
Then answer the questions at the command line interface.
Sample team.html file that is generated
The walkthrough video shows how all of the tests pass using the command:
npm test
It then shows how the application is run and how the input is entered and creates an example team using the command:
node index
and displays the final team.html file.
Click here to watch Walkthrough Video
GitHub repository for this project
Rutgers Coding Bootcamp
MIT