Giter Site home page Giter Site logo

kayleriegerpatton / employee-tracker Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 765 KB

Command line application which prompts user questions about employees, their roles, and departments. Responses are used to then build data in a MySQL database.

License: MIT License

JavaScript 100.00%
mysql nodejs back-end

employee-tracker's Introduction

Employee Management System MIT

Table of Contents

About the Application

Command line application which prompts user questions about a company's employees, roles, and departments using the inquirer package. Responses are then used to build and interact with data in a MySQL database.

Users are prompted to select an initial action, presented with further questions depending on their selection, and either presented with a data table to view or a message confirming the change they've made to the database. The initial question is re-prompted and users loop through this process until choosing to quit.

Users can currently view the data tables in the console, as well as add, update, and delete records.

Features

  • Question validation to reject empty fields or incorrect entry types
  • Action validation to control database interactions, such as when a user attempts to delete an employee when none exist in the database
  • Colorized console messages to quickly indicate to a user the status of their requests

Built With

  • Node.js
  • MySQL
  • inquirer, mysql2, console.table, and colors packages

Getting Started

Installation

Run the following script to install the application:

git clone https://github.com/kayleriegerpatton/employee-tracker.git
cd employee-tracker
npm install

Seeding

Before starting the application, seed data with the following script:

npm run seed

Usage

Run the following script to use the application:

npm run start

Questions and Contributing

To contribute to or ask a question about this project, please email me.

License

MIT License

Demo Video

Click to view a demo video.

command line prompts and responses animation

employee-tracker's People

Contributors

kayleriegerpatton avatar surajverma2587 avatar

Stargazers

Daniel Yoder avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.