{"id":23257228,"url":"https://github.com/iknowjavascript/ecommerce-with-pop","last_synced_at":"2025-04-06T04:42:20.252Z","repository":{"id":121052543,"uuid":"181371451","full_name":"iKnowJavaScript/Ecommerce-With-POP","owner":"iKnowJavaScript","description":"Using Prototype Oriented Programming in Javascript to create a simple e-commerce platform with user, admin and order object","archived":false,"fork":false,"pushed_at":"2019-04-24T12:16:51.000Z","size":46,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-04-06T02:12:07.623Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/iKnowJavaScript.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-04-14T21:31:33.000Z","updated_at":"2019-05-13T05:49:22.000Z","dependencies_parsed_at":null,"dependency_job_id":"9fcfdb20-ad65-4e26-9f55-eb54e279c071","html_url":"https://github.com/iKnowJavaScript/Ecommerce-With-POP","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iKnowJavaScript%2FEcommerce-With-POP","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iKnowJavaScript%2FEcommerce-With-POP/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iKnowJavaScript%2FEcommerce-With-POP/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iKnowJavaScript%2FEcommerce-With-POP/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/iKnowJavaScript","download_url":"https://codeload.github.com/iKnowJavaScript/Ecommerce-With-POP/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247436139,"owners_count":20938532,"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":[],"created_at":"2024-12-19T12:27:28.642Z","updated_at":"2025-04-06T04:42:20.089Z","avatar_url":"https://github.com/iKnowJavaScript.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ecommerce-With-POP\n\nUsing Prototype Oriented Programming in Javascript to create a simple e-commerce platform with user, admin and order object\n\n\u003e User Object should be able to perforrm all the operations and should be available to their Instances through Prototype Inheritance.\n\n- Create a new user\n- Read a single user by his ID\n- Update the details of a user\n- Search for a user by his name and return false if the user is not found but returns the user object if the user is found.\n- Create a new order\n\n\u003e Admin Object should be able to perform all the Operations a User can Perform Including these -\n\n- Delete a user\n- Delete all users\n- Read all users\n- Read all the orders\n- Read one order by its ID\n- Update order details\n- Delete one order\n- Delete all orders\n\n\u003e And Order object that contains the following properties\n- user_id\n- timeOfOrder\n- dateOfOrder\n- Id (Auto increment)\n- Products in the order\n\n** **\n\n## Data Storage\nA json file was used to store and manipulate data in order to properly visualise the flow of data, this was implemented using Node fs Module.\n\n\n\n## Testing\nJest was used to test every functionality of this Project.     \n\nFeel free to clone and `npm init` to get the feel of the app and `npm test` before adding more functionality if you wish.\n\n## Acknowledgments\n\n* This was a tutorial to further deepens my Knowledge in Object Prototypal Inheritance in JavaScript so feel free to add to it.  \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiknowjavascript%2Fecommerce-with-pop","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fiknowjavascript%2Fecommerce-with-pop","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiknowjavascript%2Fecommerce-with-pop/lists"}