{"id":22200157,"url":"https://github.com/ideepakpg/web-api","last_synced_at":"2026-04-28T16:03:07.565Z","repository":{"id":200142739,"uuid":"704134732","full_name":"ideepakpg/web-api","owner":"ideepakpg","description":"WEB API","archived":false,"fork":false,"pushed_at":"2023-10-14T13:16:58.000Z","size":12,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-27T22:06:34.976Z","etag":null,"topics":["api","api-rest","asp-net","asp-net-core","asp-net-core-web-api","asp-net-mvc","aspnetcore","client-server","csharp","dotnet","dotnet-core","dotnetcore","json","json-api","mssql","mssql-database","mssqlserver","mvc","rest-api","webapi"],"latest_commit_sha":null,"homepage":"","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/ideepakpg.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-10-12T15:54:11.000Z","updated_at":"2023-10-23T15:50:32.000Z","dependencies_parsed_at":"2023-10-15T23:12:15.237Z","dependency_job_id":null,"html_url":"https://github.com/ideepakpg/web-api","commit_stats":null,"previous_names":["ideepakpg/web-api"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ideepakpg/web-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ideepakpg%2Fweb-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ideepakpg%2Fweb-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ideepakpg%2Fweb-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ideepakpg%2Fweb-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ideepakpg","download_url":"https://codeload.github.com/ideepakpg/web-api/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ideepakpg%2Fweb-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32387923,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-28T14:34:11.604Z","status":"ssl_error","status_checked_at":"2026-04-28T14:32:37.009Z","response_time":56,"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":["api","api-rest","asp-net","asp-net-core","asp-net-core-web-api","asp-net-mvc","aspnetcore","client-server","csharp","dotnet","dotnet-core","dotnetcore","json","json-api","mssql","mssql-database","mssqlserver","mvc","rest-api","webapi"],"created_at":"2024-12-02T15:21:12.934Z","updated_at":"2026-04-28T16:03:07.548Z","avatar_url":"https://github.com/ideepakpg.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ASP.NET Core Web API\n\nThis repository contains a sample ASP.NET Core Web API project that demonstrates how to build a RESTful API, interact with a SQL Server database using Entity Framework, and provide interactive API documentation with Swashbuckle.\n\n## Features\n\n- **Entity Framework SQL Server**: We use Entity Framework Core to interact with a SQL Server database, making it easy to perform GET, POST, PUT, and DELETE operations on the data.\n\n- **Swagger Documentation**: ```Swashbuckle.AspNetCore``` is integrated to provide interactive and auto-generated API documentation. This means you can easily explore the API endpoints without any external documentation.\n\n- **API CRUD Operations**: The project includes a `MembersController.cs`, which showcases GET, POST, PUT, and DELETE operations for a \"Member\" entity.\n\n## Getting Started\n\nFollow these steps to get started with the project:\n\n1. **Clone the Repository**:\n   ```bash\n   git clone https://github.com/ideepakpg/web-api.git\n\n2. **Navigate to the project directory**:\n   ```sh\n   cd web-api\n   \n3. **Restore Dependencies**:\n   ```sh\n   dotnet restore\n   \n4. **Configure Database**:\n   Update the connection string in ```appsettings.json``` to point to your SQL Server database.\n\n6. **Apply Migrations**:\n   \n   **Create and apply database migrations**:\n   ```sh\n   dotnet ef migrations add Initial\n   dotnet ef database update\n\n8. **Run the API**:\n   Start the API project:\n   ```sh\n    dotnet run\n\n9. **Explore the API Documentation**:\n   Access the Swagger API documentation at http://localhost:5000/swagger while the API is running. You can test the API endpoints directly from the Swagger interface.\n\n## API Endpoints\n- GET /api/members: Retrieve a list of all members.\n- GET /api/members/{id}: Retrieve a specific member by ID.\n- POST /api/members: Create a new member.\n- PUT /api/members/{id}: Update an existing member.\n- DELETE /api/members/{id}: Delete a member by ID.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fideepakpg%2Fweb-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fideepakpg%2Fweb-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fideepakpg%2Fweb-api/lists"}