GithubHelp home page GithubHelp logo

lemonpocky / employee-cms Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 399 KB

Command-line interface for managing (pseudo) employees, managers, and departments in a MySQL database.

JavaScript 100.00%

employee-cms's Introduction

Employee Manager

Command-line interface for managing (pseudo) employees, managers, and departments in a MySQL database.


Features

  • Add departments, roles, employees

  • View departments, roles, employees

  • Update employee roles

  • Update employee managers


Requirements


Installation

  1. Clone the repo or download the code as a zip.
git clone https://github.com/LemonPocky/coding-quiz.git
  1. If downloaded as zip, unzip the contents. Place the folder in an easily accessible location on your computer.
  2. Install MySQL if necessary. Import schema.sql and seed.sql into MySQL to create and populate the database.
mysql -u <username> -p employee_cms_db < schema.sql
mysql -u <username> -p employee_cms_db < seed.sql

Note: You do not need to run seed.sql if you have your own data to insert into the database.

  1. While in the root folder, run "npm install".
npm install
  1. Make a copy of ".env.EXAMPLE" and rename it to ".env". Fill out the username and password details.

Usage

Run the program with:

node index.js

Follow the on-screen prompts. Employee CLI demo

employee-cms's People

Contributors

lemonpocky 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.