{"id":30502440,"url":"https://github.com/basuru07/product-management","last_synced_at":"2025-10-28T03:03:02.317Z","repository":{"id":309487389,"uuid":"1035785859","full_name":"basuru07/Product-Management","owner":"basuru07","description":null,"archived":false,"fork":false,"pushed_at":"2025-08-12T06:26:54.000Z","size":15201,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-12T07:21:37.907Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C#","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/basuru07.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,"zenodo":null}},"created_at":"2025-08-11T05:01:25.000Z","updated_at":"2025-08-12T06:26:58.000Z","dependencies_parsed_at":"2025-08-12T07:32:34.512Z","dependency_job_id":null,"html_url":"https://github.com/basuru07/Product-Management","commit_stats":null,"previous_names":["basuru07/product-management"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/basuru07/Product-Management","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/basuru07%2FProduct-Management","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/basuru07%2FProduct-Management/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/basuru07%2FProduct-Management/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/basuru07%2FProduct-Management/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/basuru07","download_url":"https://codeload.github.com/basuru07/Product-Management/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/basuru07%2FProduct-Management/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272055210,"owners_count":24865327,"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-25T02:00:12.092Z","response_time":1107,"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":[],"created_at":"2025-08-25T11:34:47.419Z","updated_at":"2025-10-28T03:02:57.282Z","avatar_url":"https://github.com/basuru07.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Product Management API\n\nA simple .NET Core Web API for managing products using Clean Architecture.\n\n## Features\n\n- Create, Read, Update, Delete products\n- Check stock availability\n- Clean Architecture with 3 layers\n- Swagger documentation\n\n## Product Properties\n\n- **Id**: Auto-generated number\n- **Name**: Product name\n- **Description**: Product details  \n- **Price**: Product price\n- **StockQuantity**: Available stock\n- **CreatedDate**: When created\n- **UpdatedDate**: When last modified\n\n## API Endpoints\n\n| Method | URL | Description |\n|--------|-----|-------------|\n| GET | `/api/product` | Get all products |\n| GET | `/api/product/{id}` | Get one product |\n| POST | `/api/product` | Create product |\n| PUT | `/api/product/{id}` | Update product |\n| DELETE | `/api/product/{id}` | Delete product |\n\n4. **Run**\n```bash\ndotnet run --project ProductManagement.API\n```\n\n## Project Structure\n\n```\nProductManagement/\n├── ProductManagement.API/          # Controllers, DTOs\n├── ProductManagement.Core/         # Business logic, Models\n└── ProductManagement.Infrastructure/   # Database, Repositories\n```\n\n## Test API\n\nGo to: `https://localhost:7001/swagger`\n\n## Sample Request\n\n**Create Product:**\n```json\nPOST /api/product\n{\n  \"name\": \"Smartphone\",\n  \"description\": \"Latest smartphone\",\n  \"price\": 899.99,\n  \"stockQuantity\": 25\n}\n```\n\n**Response:**\n```json\n{\n  \"id\": 1,\n  \"name\": \"Smartphone\",\n  \"description\": \"Latest smartphone\",\n  \"price\": 899.99,\n  \"stockQuantity\": 25,\n  \"createdDate\": \"2025-12-08T11:00:43.347\"\n}\n```\n\u003cimg width=\"1206\" height=\"222\" alt=\"image\" src=\"https://github.com/user-attachments/assets/8c49e00f-751d-4b6a-8dae-40bce24df980\" /\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbasuru07%2Fproduct-management","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbasuru07%2Fproduct-management","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbasuru07%2Fproduct-management/lists"}