The Employee Management System is a command-line application built using Node.js. Its purpose is to help users generate an HTML webpage that contains detailed information about their team members, including managers, engineers, and interns. This application simplifies the process of creating an organized and professional-looking webpage to showcase your team's essential details.
Key Features:
-
Adding Employees: The program allows the user to add an arbitrary number of employees to their team. They can input information for managers, engineers, and interns. The application guides users through entering the following details for each employee:
- Name: The employee's name.
- ID: A unique employee identification.
- Email: The employee's email address.
-
Role-Specific Information: Depending on the type of employee (Manager, Engineer, Intern), the application prompts for role-specific details:
- Managers: Office number.
- Engineers: GitHub username.
- Interns: School name.
-
Generating HTML Page: Users can choose to generate an HTML webpage once they've added all the desired employees. The application formats and displays the employee information in a clean and structured way.
-
Flexible Editing: The program provides the flexibility to return to add more employees or to exit. Existing employee information is retained, allowing users to build their team incrementally.
Technologies Used:
-
Node.js: The program is built using Node.js, enabling server-side JavaScript execution.
-
Inquirer: Inquirer.js is used to interact with the user through the command line, collecting employee information.
-
Jest: Jest is utilized for testing to ensure the accuracy and reliability of the code.
-
Babel: Babel is used to transpile modern JavaScript code to ensure compatibility across various Node.js environments.
How to Use:
To run the program, execute npm start
in the command line. Follow the prompts to add employees and generate the HTML page.
This Employee Management System simplifies the process of organizing team details and creating an HTML representation, making it an invaluable tool for project managers and teams looking for an efficient way to display their team's information.
I welcome contributions from the community to enhance the Bootstrap Portfolio Project. By participating in this project, you contribute to a vibrant and inclusive environment. To ensure a positive experience the code of conduct we will adhere to is based on The Contributor Covenant. Please review and follow these guidelines when contributing.
I aim to ensure websites that I build are built with accessibility in mind. I welcome feedback, and would ask that you test for accessibility by visiting this page: Accessibility Testing and Inclusive Design.
Resources accessed whilst building this program
- Dillion Megida (2022) module.exports – How to Export in Node.js and JavaScript. FreeCodeCamp
- W3Schools (n.d.) JavaScript Class Inheritance
- jostronic (2019 updated 2021) How To Create Interactive Command-line Prompts with Inquirer.js
- Class Tutorial (2023) Week 12 challenge
This project is licensed under MIT License.
© 2023 Dairon Reijna. Confidential and Proprietary. All Rights Reserved.