Organizing, recognizing, and appreciating employees is foundational to good business.
A database that helps keep track of relationships between employees and managers is helpful for management.
Enter the Employee Tracker, a simple node.js app that connects with a Postgres database to help retain employee information.
Steps to kickstart the project:
1. Copy Link: Hit the "Code" button in this GitHub repo to copy the link.
2. Clone: In GitBash, execute the command git clone [paste link here]
.
3. NPM: Install Node Package Manager with npm init -y
.
4. Inquirer: Get npm's inquirer package by running npm install inquirer
.
5. PG: Get npm's pg package by running npm install pg
.
6. PostgreSQL: Setup PostgreSQL database by running psql -U postgres
followed by entering your user database password and then creating the database by running \i db/schema.sql
.
7. Seeding: Optionally, you can seed the database with info by running \i db/seeds.sql
.
Once the software is downloaded, Node packages are initialized, and your PostgreSQL database is active, let's begin!
Navigate to the project directory and initiate prompts using node server.js
.
Then, select your desired action and the employee database will be updated.
Link to video demo of Employee Tracker
License Guide
This project is licensed under the MIT License - see the LICENSE.md file for details.
Please enter a new issue in the GitHub repo. Thanks!
There are no tests for this app.
GitHub Profile
If you have additional questions, please email me at ah@andrewhamerly.com.
My tutor for help with the DB class with constructor and async query.