Git Product home page Git Product logo

employee-cms's Introduction

Employee Tracker

GitHub License

Description

This is a Content Management Systems focused-application for managing a company's employee database. It's built with a node interface and uses the inquirer npm package to communicate to a mysql backend. The results are then displayed using the console.table npm package. It has three major components (tables) in the database - Employees, Roles and Departments. Each management table consists of its own views, adding, removing and updating functions which the user has complete control over. The schema files in the sql folder can be consulted to find a detailed database structure.

Table of Contents

Installation

Download or clone the repo to a working director and extract its contents. Use a Command Line Interface to install necessary dependencies by running the following command:

npm i

To create the database, copy the contents from schema and run it any application capable of managing MySQL database. MySQL Workbench was used for the development process. Sample data has also been provided in the sql in the form of .csv files for populating your database and demo the app.

Configuration

Locate the connection.js file inside the config folder and change the create connection function with your appropriate parameters.

Usage

Type the following in any CLI to run the app.

node index.js

Each module's functions have also been demo-ed below.

Main

Main

Employees

View

View

Add/Delete

Add/Delete

Update

Update

Roles

View

View

Add/Delete

Add/Delete

Update

Update

Departments

View

View

Add/Delete

Add/Delete

Update

Update

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Contributing

Message the owner on github or by email. See CONTRIBUTING.md

Questions

If you have any questions about the repo, open an issue or contact me directly at [email protected]. You can find more of my work at shamik05.

employee-cms's People

Contributors

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