Explore the project page
The goal of this project was to create a Content Management System interface, specifically to manage an employee database of a given company. This CMS was created using node, inquirer, and MySQL.
This project was built using:
- JavaScript
- Node.js
- Inquirer.js
- MySQL2
- MySQL Workbench
- ctable
- dotenv
While not necessary to run the program via the live link above, you may get a local copy up and running by following these simple steps:
- Clone the repo
git clone git@github.com:cynthiwu/employee-tracker.git
- Install NPM packages (i.e., Inquirer)
npm install
To install individually, you may execute the following:
npm install --save inquirer mysql2 ctable dotenv
- Install MySQL Workbench via the following link
This project can be used to add and track information on employees, roles, and departments for a given company. If the desire is to test the product, the user should set up the database schema and seed data in their MySQL Workbench before getting started. Once complete, the user can start the program by typing the below into the terminal of the project directory:
node app
Once running, the user can select any action he/she would like to complete:
- "View All Employees"
- "View All Employees by Department"
- "View All Employees by Manager"
- "Add Employee"
- "Update Employee Role"
- "View All Roles"
- "View All Departments"
- "Add Role"
- "Add Department"
- "Quit"
Watch the video below to see how the program works.
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
None
Cynthia Wu - @cynthia21wu - cynthia21wu@gmail.com
Project Link: https://github.com/cynthiwu/note-taker