This is a software engineering team generator command line application.The application will prompt the user for information about the team manager and then information about the team members. The user can input any number of team members, and they may be a mix of engineers and interns. This assignment must also pass all unit tests.When the user has completed building the team, the application will create an HTML file that displays a nicely formatted team roster based on the information provided by the user.
Some guidelines how we can deliver the project:
- Install npm init package.json (Run npm init. Fill out the prompts to create your package. json.)
- npm install inquirer (npm install inquirer)
- npm install jest (npm install --save-dev jest)
- Basic file setup (classes in lib, test in a test folder)
- .gitignore
- Get familiar with Java Script class super( keyword is used to call the constructor)
- Switch statment
- Inquirer
vi.mp4
https://watch.screencastify.com/v/cgJ0Icsouhifs2RU20a1
- Runnning from the command line , you can run Jest directly from the CLI.Jest makes testing delightful.
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 profiles
.
├── __tests__/ //jest tests
│ ├── Employee.test.js
│ ├── Engineer.test.js
│ ├── Intern.test.js
│ └── Manager.test.js
├── dist/ // rendered output (HTML) and CSS style sheet
├── lib/ // classes
├── src/ // template helper code
├── .gitignore // indicates which folders and files Git should ignore
├── index.js // runs the application
└── package.json
- Special Thanks to a @djdyer David Dyer
- Reference for help for switch statment : TA
- Reference for Help about output : Ask BCS Learning Assistant
- Building more knowledge through : https://www.w3schools.com/js/js_switch.asp
- Building more knowledge through : https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes/constructor
- My Img in teamfile, was overwrite from the main html. Reference for help : Ask BCS Learning Assistant
For more questions contact me via email:mhariznova@yahoo.com
HAPPY CODING!