Skip to content

Simple CMS solution to view and modify basic employee data for an organization.

Notifications You must be signed in to change notification settings

vruss14/employee-tracker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Employee Tracker

Simple CMS solution to view and modify basic employee data for an organization.

Description

This application utilizes Node.js and MySQL to allow a user to create and modify information about employees within a particular organization. By answering questions in the command line, the user can add new departments, roles, and employees, as well as view departments, roles, and employees. If desired, the user can also update a particular employee's role. To create this application, I used Node.js, MySQL, inquirer, and additional npm packages as needed.

This application was challenging for me to create. I learned a lot about syntax in MySQL to ensure that each query would not result in any errors. I also learned how to use functions for choices in inquirer rather than using simple arrays. Overall, I grew a lot from developing this application.

I see many opportunities for future development for this project, including:

  • Adding more opportunities for deletion
  • Adding more opportunities for updating data
  • Adding more queries to view a subset of departments/roles/employees

I am excited to continue to implement what I have learned in future projects.

Technologies Used

  • Node.js
  • Express.js
  • MySQL
  • Sequelize
  • Inquirer

Table of Contents

Installation

For this application to run correctly, run npm init -y in the working directory of your choice. Next, install the relevant dependencies by running npm i. Alternatively, you can install the dependencies one at a time.

Please note that it may take a few minutes for all dependencies to download on your local machine.

To start the application from the command line after installations have been complete, run the seed.sql file in MySQL Workbench and then run node index.js.

Usage

This application can be used to create and modify an employee database. A video detailing how the application is intended to be used can be found here: https://drive.google.com/file/d/15sOegjOnCbxaZ46GfkgRYp1b4IKiQhv8/view

The application's main menu, as seen in the command line:

menu

Viewing all departments:

menu

Viewing all employees:

menu

License

This project has not yet been licensed, and thus, standard copyright laws apply.

Contributing

Valerie Russell is the sole contributor to this project.

Tests

No tests have been designed for this project.

Questions

If you have any questions about this application my GitHub username is vruss14 and you can view my GitHub profile at https://github.com/vruss14.

If you have additional questions, feel free to reach out to me at vruss14@gmail.com.

About

Simple CMS solution to view and modify basic employee data for an organization.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published