{"id":25070594,"url":"https://github.com/endreot/bamazon","last_synced_at":"2026-05-19T19:12:57.686Z","repository":{"id":113925790,"uuid":"185704318","full_name":"EndreoT/Bamazon","owner":"EndreoT","description":"Bamazon Node.js command line store","archived":false,"fork":false,"pushed_at":"2019-05-19T17:09:48.000Z","size":735,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-06-03T20:09:52.800Z","etag":null,"topics":["inquirerjs","nodejs","sql","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/EndreoT.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}},"created_at":"2019-05-09T01:29:40.000Z","updated_at":"2019-05-19T17:09:49.000Z","dependencies_parsed_at":"2023-05-29T23:15:15.325Z","dependency_job_id":null,"html_url":"https://github.com/EndreoT/Bamazon","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/EndreoT/Bamazon","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EndreoT%2FBamazon","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EndreoT%2FBamazon/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EndreoT%2FBamazon/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EndreoT%2FBamazon/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/EndreoT","download_url":"https://codeload.github.com/EndreoT/Bamazon/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EndreoT%2FBamazon/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265479698,"owners_count":23773594,"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":["inquirerjs","nodejs","sql","typescript"],"created_at":"2025-02-06T21:32:27.058Z","updated_at":"2026-05-19T19:12:57.657Z","avatar_url":"https://github.com/EndreoT.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Bamazon\n\n## Description\nNode.js command line interface simulating a \"Amazon\" like store.\n\n## Motivation \nThis project can be a starting point for a product store backend with CRUD operations implemented. \n\n## Results\nThere are three levels of interaction with the Bamazon store: customers, managers, and supervisors, all of which use the command line. Bamazon uses SQL to communicate to a MySQL database, which stores a products table and a departments table. The node.js mysql package allows communication between node and the database.\n\n## Available actions\n* Customers choose which product and how much to purchase, and view a purchase receipt.\n* Managers view all products, low stock products, increase inventory for existing produts, and add new products.\n* Supervisors view department information and add new departments.\n\n## Installation\nYou will need a MySQL database. One option is https://dev.mysql.com/downloads/\n```\ngit clone \u003cWord-Guess-Game url\u003e\ncd path/to/Word-Guess-Game\n(You may have to run 'npx gts init')\nnpm install\n```\nNext, add and execute the schema SQL files (MySQL Workbench is handy for this task), then do the same with the seeds SQL files to create a database for sandbox use.\n\n## Compile typescript to javascript\n```\nnpm run compile\n```\n\n## Run \n```\ncd build/src\nnode \u003cfilename\u003e\n```\nWhere filename is from one of the three following files in build/src:\n```\nbamazonCustomer.js\nbamazonManager.js\nsupervisor.js\n```\n\n## Examples\n\n### bamazonCustomer.js\n![bamazonCustomer.js](./assets/gifs/customer-demo.gif)\n\n### bamazonManager.js\n![bamazonManager.js](./assets/gifs/manager-demo.gif)\n\n### supervisor.js\n![supervisor.js](./assets/gifs/supervisor-demo.gif)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fendreot%2Fbamazon","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fendreot%2Fbamazon","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fendreot%2Fbamazon/lists"}