{"id":23500120,"url":"https://github.com/amyhuang95/enhanced-crm-dbms","last_synced_at":"2026-05-07T03:32:02.995Z","repository":{"id":258926814,"uuid":"875441178","full_name":"amyhuang95/enhanced-CRM-dbms","owner":"amyhuang95","description":"Enhanced Customer Relationship DBMS built using Node.js, Express, SQLite and EJS.","archived":false,"fork":false,"pushed_at":"2024-11-10T00:36:03.000Z","size":2002,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-24T02:44:48.335Z","etag":null,"topics":["dbms","ejs","expressjs","nodejs","sql","sqlite3"],"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/amyhuang95.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-10-20T01:39:16.000Z","updated_at":"2024-12-03T04:59:41.000Z","dependencies_parsed_at":"2024-10-26T05:07:25.323Z","dependency_job_id":"44bce967-76ab-41f5-b498-6b545edd08fc","html_url":"https://github.com/amyhuang95/enhanced-CRM-dbms","commit_stats":null,"previous_names":["amyhuang95/enhanced-crm-dbms"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/amyhuang95/enhanced-CRM-dbms","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amyhuang95%2Fenhanced-CRM-dbms","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amyhuang95%2Fenhanced-CRM-dbms/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amyhuang95%2Fenhanced-CRM-dbms/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amyhuang95%2Fenhanced-CRM-dbms/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/amyhuang95","download_url":"https://codeload.github.com/amyhuang95/enhanced-CRM-dbms/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amyhuang95%2Fenhanced-CRM-dbms/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271747030,"owners_count":24813607,"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","status":"online","status_checked_at":"2025-08-23T02:00:09.327Z","response_time":69,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["dbms","ejs","expressjs","nodejs","sql","sqlite3"],"created_at":"2024-12-25T06:37:47.418Z","updated_at":"2026-05-07T03:32:02.944Z","avatar_url":"https://github.com/amyhuang95.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Enhanced Customer Relationship Management System\n\nThis project creates a Customer Relationship Management (CRM) system for managing enterprise customers. In addtion, it incorporates risk control mechanism to ensure all parties of a transaction are screened for potential risks.\n\n\u003c!-- The system is built using Node.js and Express.js, and uses [database name] as the database. --\u003e\n\n## Conceptual Model\n\nUML Class Diagram\n![UML Class Diagram](diagrams/uml.png)\n\n## Logical Model\n\nEntity Relation Diagram ([link](https://lucid.app/lucidchart/b2de3990-e4b0-4b2f-8553-d5946f50834e/edit?viewport_loc=-208%2C-333%2C2102%2C1372%2C0_0\u0026invitationId=inv_f34f8d5b-dfa7-49b7-b8d1-8d7d8303c194) to Lucidchart)\n![Entity Relation Diagram](diagrams/erd.png)\n\n## Schema\n\nRefers to the database schema in the [schema.pdf](docs/schema.pdf) file.\n\n## Database\n\nThis project uses SQLite as the database. To use the database, clone this repository, navigate to the queries directory, and run the following commands in the terminal:\n\n1. Initialize a new database with the schema:\n\n   ```bash\n   sqlite3 database.db \u003c schema.sql\n   ```\n\n2. Populate the database:\n\n   ```bash\n   sqlite3 database.db \u003c data.sql\n   ```\n\n3. To run queries on the database, use the following command. Change the number in the query file name to run different queries:\n\n   ```bash\n   sqlite3 database.db \u003c query1.sql\n   ```\n\n4. To confirm that the tables were created and conform to the constraints, refer to the [ddl_outputs.pdf](docs/ddl_outputs.pdf) file.\n\n5. To view example outputs of the queries, refer to the [dml_outputs.pdf](docs/dml_outputs.pdf) file.\n\n## Web Application\n\nThe web application implements the Employee and Customer tables. It is built using Node.js and Express.js. To run the web application, clone this repository, navigate to the webapp directory, and run the following commands in the terminal:\n\n1. Install the required packages:\n\n   ```bash\n   npm install\n   ```\n\n2. Start the server:\n\n   ```bash\n   npm start\n   ```\n\n3. Go to http://localhost:3000 in your browser to view the web application.\n\n---\n\n_This project was developed as part of the course CS 5200 Database Management Systems taught by Professor John Alexis Guerra Gomez at Northeastern University (Oakland)._\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famyhuang95%2Fenhanced-crm-dbms","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Famyhuang95%2Fenhanced-crm-dbms","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famyhuang95%2Fenhanced-crm-dbms/lists"}