Skip to content

This is a command-line application utilizing mySQL and nodeJS packages

Notifications You must be signed in to change notification settings

lingeorge88/SQL_EmployeeTracker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

MySQL Employee Tracker👋

Description

⌨️ 💻 This is a command-line application built with nodeJS that is able to take user input and populate a company's database displaying members of the company.

 Employee Tracker

📼Below is the gif showing the functionality of the application:

Employee Tracker gif

🎥 Video demonstration of the application can be found here

Table of Contents

Installation

💾

  1. Clone or download this github repository onto local directory, open the directory in any code editor (VScode used in demonstration).

  2. Open a new terminal inside the "Develop" folder and run the following command:

npm i

Usage

💻 👨‍🔧 👩‍🔧

  1. Open Mysql with CLI inside the 'db' folder with the following command:

mysql -u root -p

  1. Create database and populate database with pre-seeded data or user-defined data by running the following commands:

source schema.sql

source seeds.sql

  1. On line 9 of the prompt.js file, change the password from "EnterYourMySQLPassword" to the actual MySQL password for your local machine.

  2. Run the following command at the root of the project and answer the choose from the list of options:

node prompt.js

Testing

🧪👨‍💻

No testing is currently set up

Contributing

:octocat: George Lin

Future Developments

🏗️🚧

  • Allow users to remove employees, roles, and departments

  • Allow users to view employees by manager or departments

  • Allow users to update employee managers, salaries, etc.

Questions

✉️ Contact me with any questions: email , GitHub

About

This is a command-line application utilizing mySQL and nodeJS packages

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published