Coder Social home page Coder Social logo

employee-tracker's Introduction

Employee-Tracker

I will architect and build a solution for managing a company's employees using node, inquirer, and MySQL.

Table of Content

Description

We are creating an interface that makes it easy for non-developers to view and interact with information stored in databases. Often these interfaces are known as Content Management Systems.

Development

This application was built using node.js and adding the required dependencies, as inquirer, mysql, console.clear, console.table and chalk. you can install these via npm i (dependency name)

User Story

As a business owner I want to be able to view and manage the departments, roles, and employees in my company So that I can organize and plan my business<

Installation

To use this application:

  • Clone the GitHub repository at:
  • You will to install all the dependencies, see Dependencies for the complete list
  • Using npm install, install all the dependcies
  • Using MySQL or MSSQL database, create the DB using the schema.sql file, you can reciew the database schema on the Sql schema file
  • Using the seeds.sql file to popluate the DB
  • Once you have all the above created, you can edit the server.js file where the password is and add your password to access your local DataBase.
  • Capture
  • You can then open a terminal or cmd prompt, navigate to the folder where server.js is located and type: node server.js
  • You will be presented with an ASCII Art log, which you can also edit at your convenience with your selection of art, and the menu,
  • You can navigate the menu using the arrow keys
  • Press enter to select the element highlighted
  • Follow the prompts for addin employess, roles and departments
  • Select EXIT in the menu to end the application

Schema

schema

Dependencies

  • Chalk
  • Inquirer
  • MYSQL
  • Console.table
  • console.clear

Tests

Work in progress. Ran out of time to implement these, I will get back to this project at a later date to finalize these

Built With

Questions

  1. How can I run the application?
    You just need to follow the instructions on the installation section, where it is explained

  2. What if I get an error?
    Ensure that you have install all the dependencies required for this to work. See Dependencies section

  3. Can I refractor the code in the any of the files file? Yes, you can modify and refractor the code

  4. What If I make a mistake during the input? You can go to the Delete Employee, Role and Department and remove the wrong entries, You can also input the schema.sql file again and it will overwrite the database and you can start from scratch, or you can edit the database manually

Demo

Demo

License

MIT License

Authors

  • John Merchan

Acknowledgments

To my 2 sons, who give me the power I need to keep going. Special thanks to Vishal who has is a great teacher and during his time with us during the coruse he showed dedication and enourmous passion teaching us Stay safe!


CopyRight

Copyright 2020 ยฉ John Merchan

๐Ÿ‡ฆ๐Ÿ‡บ

Table of Content --- Back to Top --- Installation

employee-tracker's People

Contributors

johnnyboysydney avatar dependabot[bot] avatar

Stargazers

 avatar  avatar  avatar

Watchers

James Cloos avatar  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.