Skip to content

moedaaboul/employee-tracker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

employee-tracker

License: MIT

Description

A Node.js command-line application that allows non-developers to easily view and interact with information stored in databases. This interface is an example of a content management systems (CMS).

The task was to develop this command-line application from scratch to manage a company's employee database, using Node.js, Inquirer, and MySQL.

Table of Contents

Installation

​Install dependencies using:

npm install

Usage

Login to mysql using the terminal using and the follow with your password:

mysql -u root -p

The db schema and seeds will be added using the following:

source .db/schema.sql

source .db/seeds.sql

The application will then be invoked by using the following command:

npm start

Directory Structure

.
├── assets/
├── db/
├── src/
│ ├── helpers/
│ └── questions/
├── .gitignore
├── index.js
├── package.json
└── README.md

Technologies Used

  • MySQL
  • Node.js
  • mysql2
  • inquirer
  • dotenv
  • cli-color
  • console.table

Schema

Schema

Setup

  • Nodejs must be installed
  • MySQL must be installed
  • MySQL Workbench (a MySQL GUI - highly recommended)
  • Text editor (VS Code recommended)

Demo

Watch the video

Acknowledgements

Questions

Created by: @moedaaboul

Feel free to contact me via muhammad.daaboul1989@gmail.com!

License

This work is licensed under MIT.

About

A command-line application to manage a company's employee database.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published