Giter Site home page Giter Site logo

employee-tracker's Introduction

Employee-Tracker

Description

The goal of this project was to create an app that would enable a business owner to effectively track the roles, departments, titles, and salaries of their employees, as well as adding roles, departments, and employees. I learned how to use JavaScript with MySQL to create an app that can run in the terminal, as well as how to create tables in a MySQL database.

Installation

Please use the following steps to install the app on your local computer:

Step 1: Ensure that Node.js and MySQL are installed on your local computer.

Step 2: Navigate to the Public GitHub Repository for this app, fork the repository, and then clone the code to your local computer.

Step 3: Open the folder in your code editor and open two terminals. Use one terminal for MySQL and the other for project commands. Ensure that you are signed into MySQL in one of the terminals.

Step 4: In the server.js file under const createConnection you will need to change the MySQL username and password to your MySQL username and password.

Step 5: In the terminal, while at the project's root directory run source db/schema.sql and then run db/seeds.sql. This should create the employee database, create the tables, and add values to those tables.

Step 6: Now you should be ready to run the app! In your terminal run: node server.js

Step 7: You will be presented with a menu from which you can perform a variety of functions within the app, access tables from the employee database, and add information to those tables.

Usage

Please view the walkthrough video after following the Installation instructions, to see how the app should function when it is run on your local computer.

Employee Tracker App Walkthrough Video

Credits

Collaborators:

Alex Van Dyke

Tutorials:

Comments within SQL Statements

Jest

MySQL

MySQL Reference Guide

NPM console.table

NPM mysql2

NPM express

Professional README Guide

Video Submission Guide

License

Link to license

employee-tracker's People

Contributors

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