https://github.com/billgonzo123/empl-tracker
A command-line based, project management tool for keeping track of team members under a SQL database.
https://github.com/billgonzo123/empl-tracker
inquirerjs mysql2 nodejs sql
Last synced: about 2 months ago
JSON representation
A command-line based, project management tool for keeping track of team members under a SQL database.
- Host: GitHub
- URL: https://github.com/billgonzo123/empl-tracker
- Owner: Billgonzo123
- Created: 2022-01-29T18:55:20.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-02-07T00:44:55.000Z (over 4 years ago)
- Last Synced: 2025-02-28T09:03:38.864Z (over 1 year ago)
- Topics: inquirerjs, mysql2, nodejs, sql
- Language: JavaScript
- Homepage:
- Size: 2.71 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# EMPL-Tracker
## Description
This is a command line app that uses a local SQL database to manage, store and update company employees, roles and departmnets.
## Table of Contents
* [Installation](#installation)
* [Usage](#usage)
## Screenshots

## Installation
The app requires Node.js and SQL to be installed on the system.
Once both are installed:
- run: ```npm i``` from the EMPL_Tracker root folder (only needed initially)
- create a file named __*.env*__ in the root of the EMPL-Tracker folder
- add the following lines to __*.env*__, using your SQL credentials:
```DB_USER=[your user name] ```
```DB_PW= [your password] ```
- log into mysql from the root folder EMPL-Tracker and run the following to create the needed database and tables:
```source db/db.sql;```
```source db/schema.sql;```
```source db/seeds.sql; (only needed for testing)```
[This step is only needed initially]
- run: ```node EMPLT``` from the root directory
## Usage
Select an option from the main menu and follow the prompts to view, input and/or update the database.
# [Link to Video Preview](https://watch.screencastify.com/v/edWqJGJMJOdPy2cfkRGq)
## Questions
Chris Kurz [Github](https://github.com/chriskurz098)
If you have any questions, contact Chris Kurz at:
[ckurz098@gmail.com](mailto:ckurz098@gmail.com)