An open API service indexing awesome lists of open source software.

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.

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.