/employee-tracker

This application manages a company's employees using MySQL, Node.js, and inquirer.

Primary LanguageJavaScriptMIT LicenseMIT

License: MIT

Employee Tracker

This repository contains a content management system interface that utilizes MySQL in order to view and interact with data stored in the database. This application is run through the command line and allows the user to:

  • Add departments, roles, and employees
  • View departments, roles, and employees
  • Update employee roles
  • Remove employees and departments

Installation

  1. Make sure you have Node.js to run the application
  2. Clone this repo

HTTPS: https://github.com/micheqn3/employee-tracker.git
SSH: git@github.com:micheqn3/employee-tracker.git

  1. Install the NPM packages

npm install

  1. Create the database in MySQL using the schema found in sql/ schema.sql
  2. Provide your MySQL credentials in the index.js file and make sure your server is running
  3. Run the application in command line

node index.js

This repository contains:

  • index.js - This file connects to the MySQL database and contains an Application class, which will control the flow of the application.
  • sql/ schema.sql - This file contains the tables that will store the data.
  • sql/ seeds.sql - This file contains the data that will prepopulate the database.
  • src/ inquirer.js - This file contains all the prompts for the user and is utilized in index.js.

Technologies/Languages used:

  • JavaScript
  • Node.js
  • Inquirer
  • MySQL
  • Chalk
  • Console.table
  • Dotenv

Walkthrough Demo

employee-tracker-demo.mp4

License License: MIT

MIT