{"id":18248381,"url":"https://github.com/prathamesh017/e-commerce-api","last_synced_at":"2025-04-08T19:51:52.435Z","repository":{"id":189297414,"uuid":"680414097","full_name":"Prathamesh017/E-Commerce-API","owner":"Prathamesh017","description":null,"archived":false,"fork":false,"pushed_at":"2023-08-19T07:48:44.000Z","size":102,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-14T15:40:45.169Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/Prathamesh017.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}},"created_at":"2023-08-19T06:52:46.000Z","updated_at":"2023-08-19T06:53:30.000Z","dependencies_parsed_at":null,"dependency_job_id":"2978e370-cfec-48c0-9450-bea59b70d244","html_url":"https://github.com/Prathamesh017/E-Commerce-API","commit_stats":null,"previous_names":["prathamesh017/e-commerce-api"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Prathamesh017%2FE-Commerce-API","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Prathamesh017%2FE-Commerce-API/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Prathamesh017%2FE-Commerce-API/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Prathamesh017%2FE-Commerce-API/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Prathamesh017","download_url":"https://codeload.github.com/Prathamesh017/E-Commerce-API/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247918929,"owners_count":21018043,"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-11-05T09:36:48.923Z","updated_at":"2025-04-08T19:51:52.398Z","avatar_url":"https://github.com/Prathamesh017.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"E-Commerce API DOCUMENATION\n\nWelcome to the E-Commerce API documentation. This API allows you to see products ,add and remove them from cart and place order \n\nHosted on Server URL \n```bash\nhttps://e-commerce-api-bjp2.onrender.com/\n```\nSwagger \n```bash\nhttps://e-commerce-api-bjp2.onrender.com/api/swagger\n```\n\n\n## Authentication\nThis API requires API key authentication. Include your API key in the Authorization header of your requests.\n\n## ENDPOINTS\n- AUTH \u003c/br\u003e\n a) /auth/login  logins user  \u003c/br\u003e\n Method - Post. \u003c/br\u003e\n Request - {  _\n  email,       _\n  password  _\n  }\u003c/br\u003e\n Response  - Token (Use this for authentication)  \u003c/br\u003e\n \n  b) /auth/register -  register user \u003c/br\u003e\n  Method - Post \u003c/br\u003e\n  Request - {\n  name,\n  email,\n  password\n  } \u003c/br\u003e\n  Response  - Token(Use this for authentication) \u003c/br\u003e\n\n - Product \u003c/br\u003e\n   a) /product -  Get All Product \u003c/br\u003e\n   Method - Get  \u003c/br\u003e\n   Response  - All Products\u003c/br\u003e\n   \n   b) /product/category -  Get All Category \u003c/br\u003e\n   Method - Get \u003c/br\u003e\n   Response  - All Category  \u003c/br\u003e\n   \n   c) /product/{id} -  Get A Product \u003c/br\u003e\n   Method - Get \u003c/br\u003e\n   Response  - A Product \u003c/br\u003e\n   \n   d) /product -  Add a Product \u003c/br\u003e\n   Method - Post \u003c/br\u003e\n   Request- require admin token \u003c/br\u003e\n   Response  - Product \u003c/br\u003e\n\n\n  - Cart \u003c/br\u003e\n    a)/cart/view  see cart \u003c/br\u003e\n    Method - GET \u003c/br\u003e\n    Response - Cart  \u003c/br\u003e\n    \n    b)/cart/add  add item in cart \u003c/br\u003e\n    Method - POST \u003c/br\u003e\n    Request :{\n    productID,\n    quantity\n    } \u003c/br\u003e\n    Response - Cart  \u003c/br\u003e\n  \n    c)/cart/remove  remove item in cart \u003c/br\u003e\n   Method - POST \u003c/br\u003e\n   Request :{\n   productID\n   } \u003c/br\u003e\n  Response - Cart  \u003c/br\u003e\n\n - ORDER \u003c/br\u003e\n   a)/order/history  see all order history \u003c/br\u003e\n   Method - GET \u003c/br\u003e\n   Response - order history \u003c/br\u003e\n \n   b)/order  add  order  \u003c/br\u003e\n   Method - POST \u003c/br\u003e\n   Response - Order Added \u003c/br\u003e\n \n   c) /order/{id} -  Get Order Details \u003c/br\u003e\n   Method - Get \u003c/br\u003e\n   Response  - A Order Detail \u003c/br\u003e\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprathamesh017%2Fe-commerce-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprathamesh017%2Fe-commerce-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprathamesh017%2Fe-commerce-api/lists"}