The Employee Tracker Application is an interactive command-line tool designed to help businesses manage their organizational structure. Built using Node.js, PostgreSQL, and Inquirer, this application allows users to view and manage employees, roles, and departments dynamically through an intuitive CLI interface.

The Employee Tracker Application enables businesses to streamline their human resources processes by allowing seamless management of employees, roles, and departments. Users can add, view, and update employee information, ensuring data integrity and consistency through PostgreSQL’s relational database structure. The app also dynamically retrieves and displays organizational data in a tabular format for quick insights.
Clone the Repository
Clone the project repository to your local machine:
git clone https://github.com/BrockAltug/employee-tracker.git
Navigate to the project directory:
cd employee-tracker
Set Up Environment Variables
Create a .env file in the root directory with the following content:
DB_USER=your_database_user
DB_PASSWORD=your_database_password
DB_HOST=localhost
DB_DATABASE=your_database
DB_PORT=5432
Install Dependencies
Install the required dependencies by running:
npm install
Set Up the Database
Initialize the database by running the provided SQL scripts:
psql -U your_database_user
Create schema and insert sample data:
\i schema.sql
\i seeds.sql
Run the Application
Start the application by running:
node index.js
Interact with the CLI
Follow the on-screen prompts to view and manage organizational data.
The Employee Tracker Application is an essential tool for businesses looking to manage their organizational data effectively. By leveraging the power of Node.js, PostgreSQL, and Inquirer, this application provides a streamlined, user-friendly solution for HR and administrative tasks. It offers dynamic insights into the company structure, ensuring efficient and informed decision-making. Perfect for any organization seeking to enhance its employee management processes.