A command-line application from scratch to manage a company's employee database, using Node.js, Inquirer, and MySQL.
Technologies Used Node.js MySQL NPM
Table of Contents Installation Instructions Features
Installation Use the MySQL NPM package to connect to your MySQL database and perform queries.
npm install
Use InquirerJs NPM package to interact with the user via the command-line.
npm install mysql inquirer
Use console.table to print MySQL rows to the console. There is a built-in version of console.table, but the NPM package formats the data a little better for our purposes.
npm install console.table --save
After that, you can run the code using Node.js by executing the following command in your terminal: node server.js