https://github.com/jay1194/employee-tracker
This Employee Tracker app enables efficient management of company departments, roles, and staff using MySQL, Node.js, Inquirer, and JavaScript.
https://github.com/jay1194/employee-tracker
command-line inquirer-prompt javascript mysql node-js
Last synced: 2 months ago
JSON representation
This Employee Tracker app enables efficient management of company departments, roles, and staff using MySQL, Node.js, Inquirer, and JavaScript.
- Host: GitHub
- URL: https://github.com/jay1194/employee-tracker
- Owner: Jay1194
- License: mit
- Created: 2023-11-28T14:11:30.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-12-05T07:12:31.000Z (almost 2 years ago)
- Last Synced: 2025-03-04T00:15:34.757Z (8 months ago)
- Topics: command-line, inquirer-prompt, javascript, mysql, node-js
- Language: JavaScript
- Homepage:
- Size: 52.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Employee-Tracker
This Employee Tracker application allows you to manage departments, roles, and employees in a company.
## Table of Contents
- [Installation](#installation)
- [Usage](#usage)
- [Database Schema](#database-schema)
- [Functionalities](#functionalities)
- [Contributing](#contributing)
- [License](#license)## Demo
[Untitled_ Dec 5, 2023 12_56 AM.webm](https://github.com/Jay1194/Employee-Tracker/assets/105843570/de5c270b-b70a-4ef7-bf17-a90c9e9258b6)## Installation
1. Clone the repository:
```bash
git clone https://github.com/your-username/employee-tracker.git###Install dependencies:
2. Install dependencies:
- `npm install`
- Set up your MySQL database using the provided schema.sql file.- Update the database connection details in db/connection.js with your MySQL credentials.
## Usage
- Run the application with the following command: `node index.js`
- Follow the on-screen prompts to navigate through the application and manage your company's data.## Database Schema
The application uses a MySQL database with the following schema:- Departments
- Roles
- Employees
Refer to schema.sql for the complete database schema.## Functionalities
The application supports the following functionalities:- View departments, roles, and employees
- Add new departments, roles, and employees
- Update employee roles
- View employees by manager, department, etc.
- Delete departments, roles, and employees## Contributing
- Contributions are welcome! Fork the repository and submit a pull request.## License
- This project is licensed under the MIT License.Feel free to copy and use it for your project.