Giter VIP home page Giter VIP logo

employee_tracker's Introduction

Employee Tracker

License: MIT GitHub top language

Description

This is a rudimentary content management system (cms) that allows companies to keep track of their their company structure. MySQL was used to store the data on a local server, which the user can retrieve/manipulate through Inquirer. The biggest challenge in getting this app to work was figuring out MySQL's syntax and orders of operation. Specifically, in trying to update manager ID's in the employee's table while also referencing employee's table in the same string led down a rabbit hole of subqueries, derived tables, and foreign key constraints. Working out the precedence of MySQL was critical to figuring out how to create more complex queries. Besides MySQL, the only other area that took some extra time was working around the asynchronous behavior of the queries combined with storing them in separate modules from the inquirer questions. I used promises in the query functions themselves, and then async/await in the inquirer functions to get the app working smoothly.

Table of Contents

Installation

npm install

Usage

Run the app using the command below and you will be presented with some questions to help you get started with you employee management system. You can exit the application at any time by pressing Ctrl + C.

node app.js

demo

License

Licensed under the MIT License.

Questions

employee_tracker's People

Contributors

kev-luo avatar

Watchers

 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.