{"id":20442046,"url":"https://github.com/williamcrownover/employee-content-management-system","last_synced_at":"2026-04-11T00:53:12.697Z","repository":{"id":184986254,"uuid":"389872505","full_name":"WilliamCrownover/employee-content-management-system","owner":"WilliamCrownover","description":"A Node.js app using an Inquirer command line CMS for organizing employees into roles and departments stored in a MySQL database.","archived":false,"fork":false,"pushed_at":"2021-08-29T03:04:32.000Z","size":772,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-15T20:32:56.875Z","etag":null,"topics":["cms","command-line-tool","content-management-system","database","dotenv","inquirer","mysql","nodejs"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/WilliamCrownover.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2021-07-27T06:28:45.000Z","updated_at":"2021-08-29T03:04:35.000Z","dependencies_parsed_at":null,"dependency_job_id":"96aab8ca-099c-4efd-9b92-9db47b9290c1","html_url":"https://github.com/WilliamCrownover/employee-content-management-system","commit_stats":null,"previous_names":["williamcrownover/employee-content-management-system"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WilliamCrownover%2Femployee-content-management-system","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WilliamCrownover%2Femployee-content-management-system/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WilliamCrownover%2Femployee-content-management-system/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WilliamCrownover%2Femployee-content-management-system/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/WilliamCrownover","download_url":"https://codeload.github.com/WilliamCrownover/employee-content-management-system/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241989845,"owners_count":20053803,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cms","command-line-tool","content-management-system","database","dotenv","inquirer","mysql","nodejs"],"created_at":"2024-11-15T09:36:42.926Z","updated_at":"2025-12-31T00:57:19.844Z","avatar_url":"https://github.com/WilliamCrownover.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Employee Content Management System\n\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n\n## Description\n\nThis CMS was built with Node.js to help businesses manage their internal departments, roles, and employees using an Inquirer command-line interface connected to a MySQL database. The user can easily navigate through the three categories of data to view tables, add information, update entries, or delete specific data points. Having access to a database keeps the information persistent and makes organizing teams or planning budgets much easier for a business owner. More specifically, the user can view tables that total the combined salaries of all employees grouped by department.\n\nOther technologies that helped the development of the code are ‘dotenv’ for keeping connection passwords confidential and the ‘util’ node module to convert MySQL queries into a promise form. I also took advantage of storing Inquirer questions and query strings in separate files to help dry up the index.js code.\n\n\u003cimg src=\"./assets/screenshot.jpg\" width=\"1200\" alt=\"Example of command line interface\"/\u003e\n\n## Table of Contents\n\n- [User Story](#user-story)\n- [Walkthrough Video](#walkthrough-video)\n- [Installation](#installation)\n- [Usage](#usage)\n- [Technologies](#technologies)\n- [License](#license)\n- [Contact](#contact)\n\n## User Story\n```\nAS A business owner\nI WANT to be able to view and manage the departments, roles, and employees in my company\nSO THAT I can organize and plan my business\n```\n\n## Walkthrough Video\n\nhttps://www.youtube.com/watch?v=kd71u3FCdZQ\u0026ab_channel=WilliamCrownover\n\n## Installation\n\nYou will need Node.js installed on your local machine to run this app.\nThen you can clone this repo to your local machine.\nYou can then run it in VSCode and open an integrated terminal of the root folder.\nBefore use, run `npm install` to load any dependencies such as Inquirer to the folder.\n\nIn the root folder create a `.env` file and paste this line of code changing password to your MySQL root user password: `DB_PASS=password`.\n\nTo setup the initial database login to the MySQL shell using `mysql -u root -p` and then run the schema file with `source db/schema.sql`.\n\nYou may use the seeds.sql file to populate example tables to the database.\n\n## Usage\n\nAfter proper installation, the app can be run using `node index.js` in the command line.\n\nThe first question and the one you will return to after each end of user choices will ask which category of data you’d like to work with. After that you can explore the options for viewing, adding, updating, or deleting data from that chosen category. Have fun!\n\n## Technologies\n- Node.js\n- MySQL2\n- Inquirer\n- Dotenv \n\n## License\nLicensed under the MIT License - https://opensource.org/licenses/MIT\n\n## Contact\n\nIf you have any questions you can email me at williamcrownover1@gmail.com.\n\nYou can also check out my other work on GitHub at [WilliamCrownover](https://github.com/WilliamCrownover)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwilliamcrownover%2Femployee-content-management-system","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwilliamcrownover%2Femployee-content-management-system","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwilliamcrownover%2Femployee-content-management-system/lists"}