Skip to content

Latest commit

 

History

History
96 lines (62 loc) · 3.35 KB

README.md

File metadata and controls

96 lines (62 loc) · 3.35 KB

Template Engine - Employee Summary

A Command Line Application that takes in information about employees and generates an HTML webpage that displays summaries for each person (software engineering team generator). The user can input any number of team members, and they may be a mix of managers, engineers and interns. This CLI also passes all unit tests.

  • This app may be used for organizing employees into a template.
  • The generator begins with prompting how many employees are on the team.
  • If there a 0 employees, then a console.log will return an error stating there are no employees.
  • You will then be prompted with whether you want to get a summary on managers, engineers, or interns.
  • After making a selection, it will run through series of questions pertaining to the team member.
  • Once the prompts finish, you will be given an alert that states success.
  • The application will create an HTML file, team.html, in the output folder that displays a nicely formatted team roster based on the information provided by the user.

Table of Contents

Deployment

Version 2

Demo: https://rosajen27.github.io/employee-summary/

Employee Summary 1

Version 1

Video Demo: https://drive.google.com/file/d/1TocaHc91cHpzkxmY2UtrIzjQqSd0nBJM/view?usp=sharing

Employee Summary 1

Built With

  • HTML
  • CSS
  • JavaScript
  • Node.js

Tests

  • The dependencies are, jest for running the provided tests, and inquirer for collecting input from the user.
  • 🎗 Remember, you can run the tests at any time with npm run test
  Employee.test.js 
  Engineer.test.js (PASSED)
  Intern.test.js (PASSED)
  Manager.test.js (PASSED)
app.js         // Runs the application

jest-test

Authors

License

License

This project is licensed under the MIT License.

Copyright (c) 2021 Jennifer Rosa

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Acknowledgements

  • Trilogy Education Services