/Employee-Tracker

A command line application that allows the user to view and manage company departments, managers, and employees by way of SQL tables

Primary LanguageJavaScriptMIT LicenseMIT

Employee-Tracker

Github license

Description:

A command line application that allows the user to view and manage company departments, managers, and employees by way of SQL tables

Building this code required a core understanding of Node.js, Dotenv, Inquirer, and Mysql2

Table of Contents


Installation:


  • Download the code via your preferred method, by clicking the green code button at the top of this page.

  • If you don't have Node.js, you can install it here.

-If you don't have Mysql, you can install it here

  • Once you're sure the above steps are completed, the dependencies (Inquirer, Dotenv, Mysql2, and their sub-dependencies) are easily installed by navigating to the project's local directory within your command line and entering the below code:
npm i

Usage:


youtube application screenshot

  • Once installed, and you've navigated to the local directory containing the application within your terminal, it may be invoked by using the following command:
node index.js

To seed it with my starter data first, log into mysql via

mysql -u root -p

and enter your password, then

source db/schema.sql; 

and finally

source db/seeds.sql;

Credits:



License


MIT License

Copyright (c) 2021 AndiS90

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.


To Contribute:

  • Fork this repo, create a branch and have fun with it!

or

or


Tests:


No Current Tests


Questions:


If you have questions I can be reached in the following manners below