Uses Mysql database to maintain employees in a company
This program is made to be able to add, update, and view the different departments and employees of a company.
The main technologies in making this program work include:
- Inquirer (NPM Package)
- MySql2 (NPM Package)
- MySql
Below contains the required steps to be able to run this program correclty:
- First clone the application from github and save it to directory of your choice
- Navigate to the aformentioned directory using the terminal or gitbash
- Once in the correct directory, run
npm install
to install the required packages used in the application - Still in the directory, run
mysql -u root -p
to open up mysql controls in the terminal/gitbash - You will have to type in your own mysql password to be able to move on the next step
- Once you have access to mysql, run
source db/schema.sql
and thensource db/seeds
to import the correct data into the database - Now you can run
npm start
to begin the application.
This application builds on important database configuration techniques and empowers the programer to be able to better understand the usefullness of mysql and all it has to offer.