{"id":18373490,"url":"https://github.com/poojithathimegowda/wineshopwebapi","last_synced_at":"2026-04-15T13:34:07.262Z","repository":{"id":237565968,"uuid":"794762862","full_name":"poojithathimegowda/WineShopWebAPI","owner":"poojithathimegowda","description":"WineShopAccountingSystemWebAPI","archived":false,"fork":false,"pushed_at":"2024-05-19T20:57:30.000Z","size":84,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-01T09:59:52.517Z","etag":null,"topics":["csharp","dotnet-core","entity-framework","jwt-authentication","rest-api","sqlserver","swagger","webapi"],"latest_commit_sha":null,"homepage":"https://wineshopwebapi20240423191025.azurewebsites.net/","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/poojithathimegowda.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":"2024-05-01T22:39:53.000Z","updated_at":"2024-09-02T14:02:05.000Z","dependencies_parsed_at":"2024-05-19T21:37:15.666Z","dependency_job_id":null,"html_url":"https://github.com/poojithathimegowda/WineShopWebAPI","commit_stats":null,"previous_names":["poojithathimegowda/wineshopwebapi"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/poojithathimegowda/WineShopWebAPI","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/poojithathimegowda%2FWineShopWebAPI","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/poojithathimegowda%2FWineShopWebAPI/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/poojithathimegowda%2FWineShopWebAPI/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/poojithathimegowda%2FWineShopWebAPI/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/poojithathimegowda","download_url":"https://codeload.github.com/poojithathimegowda/WineShopWebAPI/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/poojithathimegowda%2FWineShopWebAPI/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31842978,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-15T13:28:40.153Z","status":"ssl_error","status_checked_at":"2026-04-15T13:28:29.396Z","response_time":63,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["csharp","dotnet-core","entity-framework","jwt-authentication","rest-api","sqlserver","swagger","webapi"],"created_at":"2024-11-06T00:10:35.076Z","updated_at":"2026-04-15T13:34:07.244Z","avatar_url":"https://github.com/poojithathimegowda.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🍷 Wine Store API\n\nWelcome to the Wine Store API! This API is designed to manage a wine store, including inventory, orders, products, and more. It is built using **ASP.NET Core Web API** and uses **JWT tokens** for authentication and **Microsoft Identity** for authorization.\n\n## 🛠️ Technologies Used\n- **Framework**: ASP.NET Core Web API\n- **Authentication**: JWT Tokens\n- **Authorization**: Microsoft Identity\n- **Language**: C#\n- **Database** : MS SQL SERVER\n- **ORM FRAMEWORK**: Entity Framework Core 7.0\n\n\n## 🌐 Base URL\n\nThe API is hosted at Microsoft Azure:\n```\nhttps://wineshopwebapi20240423191025.azurewebsites.net/\n```\n\n## 🔐 Authentication\n\nThis API uses JWT tokens for authentication. You need to include a valid JWT token in the Authorization header of your requests.\n\n- **Register Admin**: Register a new admin user. `POST /api/Admin/register`\n- **Authenticate**: Authenticate and get a JWT token. `POST /api/Authenticate/login`\n\n## 📚 API Endpoints\n\n### 💸 Expenses\nManage store expenses with the following endpoints:\n\n- **Get All Expenses**: `GET /api/Expenses`\n- **Get Expense by ID**: `GET /api/Expenses/{id}`\n- **Create Expense**: `POST /api/Expenses`\n- **Update Expense**: `PUT /api/Expenses/{id}`\n- **Delete Expense**: `DELETE /api/Expenses/{id}`\n\n### 📦 Inventory\nManage inventory items with the following endpoints:\n\n- **Get All Inventory Items**: `GET /api/Inventory`\n- **Get Inventory Item by ID**: `GET /api/Inventory/{id}`\n- **Create Inventory Item**: `POST /api/Inventory`\n- **Update Inventory Item**: `PUT /api/Inventory/{id}`\n- **Delete Inventory Item**: `DELETE /api/Inventory/{id}`\n\n### 🛒 Orders\nManage customer orders with the following endpoints:\n\n- **Get All Orders**: `GET /api/Orders`\n- **Get Order by ID**: `GET /api/Orders/{id}`\n- **Create Order**: `POST /api/Orders`\n- **Update Order**: `PUT /api/Orders/{id}`\n- **Delete Order**: `DELETE /api/Orders/{id}`\n\n### 🍾 Products\nManage products available in the store with the following endpoints:\n\n- **Get All Products**: `GET /api/Products`\n- **Get Product by ID**: `GET /api/Products/{id}`\n- **Create Product**: `POST /api/Products`\n- **Update Product**: `PUT /api/Products/{id}`\n- **Delete Product**: `DELETE /api/Products/{id}`\n- **AutoComplete Products**: `GET /api/Products/AutoComplete`\n\n### 🏪 Shop\nManage shop details and profit/loss calculations with the following endpoints:\n\n- **Get Shop Details**: `GET /api/Shop`\n- **Get Shop by ID**: `GET /api/Shop/{id}`\n- **AutoComplete Shop**: `GET /api/Shop/AutoComplete`\n- **Get Profit and Loss**: `GET /api/Shop/GetProfitAndLoss`\n\n### 🤝 Suppliers\nManage suppliers with the following endpoints:\n\n- **Get All Suppliers**: `GET /api/Suppliers`\n- **Get Supplier by ID**: `GET /api/Suppliers/{id}`\n- **Create Supplier**: `POST /api/Suppliers`\n- **Update Supplier**: `PUT /api/Suppliers/{id}`\n- **Delete Supplier**: `DELETE /api/Suppliers/{id}`\n- **AutoComplete Suppliers**: `GET /api/Suppliers/AutoComplete`\n\n\nFor more detailed information about each endpoint, refer to the OpenAPI/Swagger documentation provided in the API. \n\n[OpenAPI/Swagger Documentation](https://wineshopwebapi20240423191025.azurewebsites.net/swagger/index.html)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpoojithathimegowda%2Fwineshopwebapi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpoojithathimegowda%2Fwineshopwebapi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpoojithathimegowda%2Fwineshopwebapi/lists"}