The WEREWOLF WEED Employee Database
is a command-line application that manages WEREWOLF WEEDโS employee database by using Node.js, Inquirer, and MySQL.
WEREWOLF WEED'S
MySQL database and perform queries.The application is invoked using the following commands:
Clone the repository in your local development enviorment.
git clone https://github.com/christiecamp/werewolf-weed.git
Update .env with your information
Navigate to the command line and input:
npm i :: inquirer@8.2.4, --save mysql2, dotenv --save, --save sequelize, -g nodemon --save-dev, console-table-printer
mysql -u root -p
SOURCE lib/db/schema.sql;
SOURCE lib/db/seeds.sql;
quit
node server
INSTRUCTIONS:
Open the Integrated Terminal and input - node server.
Interact with WEREWOLF WEEDโs database by selecting the below prompts:
Hereโs a list of technologies used:
Node.js - is an open-source, cross-platform JavaScript runtime environment.
Inquirer - the NPM package that provides an easy way to capture user input in your Node. js command line interface applications.
MySQL2 - MySQL is a relational database management system based on SQL โ Structured Query Language.
Dotenv - a zero-dependency module that loads environment variables from a .env file into process.env
.
Sequelize - a Node.js based Object Relational Mapper
that makes it easy to work with MySQL databases. An Object Relational Mapper performs functions like handling database records by representing the data as objects.
Nodemon - a Node.js tool that helps develop applications by automatically restarting the node application when file changes in the directory are detected.
Chalk - a Node.js tool that helps develop applications by automatically restarting the node application when file changes in the directory are detected.
Console Table Printer - a Node.js tool that prints simple tables.